mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
LibWeb: Implement <input type=checkbox switch> experimentally
In conformance with the requirements of the spec PR at https://github.com/whatwg/html/pull/9546, this change adds support for the “switch” attribute for type=checkbox “input” elements — which is shipping in Safari (since Safari 17.4). This change also implements support for exposing it to AT users with role=switch.
This commit is contained in:
committed by
Sam Atkins
parent
eee90f4aa2
commit
583ca6af89
@@ -38,6 +38,8 @@ interface HTMLInputElement : HTMLElement {
|
||||
[CEReactions] attribute unsigned long size;
|
||||
[CEReactions, Reflect, URL] attribute USVString src;
|
||||
[CEReactions, Reflect] attribute DOMString step;
|
||||
// https://whatpr.org/html-attr-input-switch/9546/input.html#the-input-element:dom-input-switch
|
||||
[CEReactions, Reflect] attribute boolean switch;
|
||||
[CEReactions] attribute DOMString type;
|
||||
[CEReactions, Reflect=value] attribute DOMString defaultValue;
|
||||
[CEReactions, LegacyNullToEmptyString] attribute DOMString value;
|
||||
|
||||
Reference in New Issue
Block a user