From 4420d1436cd0bc09a9aa3ab6c8695c47d5c54999 Mon Sep 17 00:00:00 2001 From: James Craig Date: Tue, 1 May 2018 22:22:17 -0700 Subject: [PATCH] IDL updates: assuming reflectoin patch will be DOMString-only. DOMTokenList doesn't gain authors much and makes reflection more difficult. --- index.html | 96 +++++++++++++++++++++++++++--------------------------- 1 file changed, 48 insertions(+), 48 deletions(-) diff --git a/index.html b/index.html index 0da0e2662..95375b77e 100644 --- a/index.html +++ b/index.html @@ -10976,7 +10976,7 @@

IDL Interface

Interface Mixin AccessibilityRole

 			interface mixin AccessibilityRole {
-				[Reflect] attribute DOMTokenList? role;
+				[Reflect] attribute DOMString? role;
 			};
 			Element includes AccessibilityRole;
 		
@@ -10987,55 +10987,56 @@

Interface Mixin AccessibilityRole

Interface Mixin AriaAttributes

 			interface mixin AriaAttributes {
-				[Reflect=aria_activedescendant]          attribute DOMString?    ariaActiveDescendant;
-				[Reflect=aria_atomic]                    attribute DOMString?    ariaAtomic;
-				[Reflect=aria_autocomplete]              attribute DOMString?    ariaAutoComplete;
-				[Reflect=aria_busy]                      attribute DOMString?    ariaBusy;
-				[Reflect=aria_checked]                   attribute DOMString?    ariaChecked;
-				[Reflect=aria_colcount]                  attribute DOMString?    ariaColCount;
-				[Reflect=aria_colindex]                  attribute DOMString?    ariaColIndex;
-				[Reflect=aria_colspan]                   attribute DOMString?    ariaColSpan;
-				                                readonly attribute DOMTokenList? ariaControls;
-				[Reflect=aria_current]                   attribute DOMString?    ariaCurrent;
-				                                readonly attribute DOMTokenList? ariaDescribedBy;
-				[Reflect=aria_detail]                    attribute DOMString?    ariaDetails;
-				[Reflect=aria_disabled]                  attribute DOMString?    ariaDisabled;
-				[Reflect=aria_errormessage]              attribute DOMString?    ariaErrorMessage;
-				[Reflect=aria_expanded]                  attribute DOMString?    ariaExpanded;
-				                                readonly attribute DOMTokenList? ariaFlowTo;
-				[Reflect=aria_haspopup]                  attribute DOMString?    ariaHasPopup;
-				[Reflect=aria_hidden]                    attribute DOMString?    ariaHidden;
-				[Reflect=aria_invalid]                   attribute DOMString?    ariaInvalid;
-				[Reflect=aria_shortcuts]                 attribute DOMString?    ariaKeyShortcuts;
-				[Reflect=aria_label]                     attribute DOMString?    ariaLabel;
-				                                readonly attribute DOMTokenList? ariaLabelledBy;
-				[Reflect=aria_level]                     attribute DOMString?    ariaLevel;
-				[Reflect=aria_live]                      attribute DOMString?    ariaLive;
-				[Reflect=aria_modal]                     attribute DOMString?    ariaModal;
-				[Reflect=aria_multiline]                 attribute DOMString?    ariaMultiLine;
-				[Reflect=aria_multiselectable]           attribute DOMString?    ariaMultiSelectable;
-				[Reflect=aria_orientation]               attribute DOMString?    ariaOrientation;
-				                                readonly attribute DOMTokenList? ariaOwns;
-				[Reflect=aria_placeholder]               attribute DOMString     ariaPlaceholder;
-				[Reflect=aria_posinset]                  attribute DOMString?    ariaPosInSet;
-				[Reflect=aria_pressed]                   attribute DOMString?    ariaPressed;
-				[Reflect=aria_readonly]                  attribute DOMString?    ariaReadOnly;
-				                                readonly attribute DOMTokenList? ariaRelevant;
-				[Reflect=aria_required]                  attribute DOMString?    ariaRequired;
-				[Reflect=aria_roledescription]           attribute DOMString?    ariaRoleDescription;
-				[Reflect=aria_rowcount]                  attribute DOMString?    ariaRowCount;
-				[Reflect=aria_rowindex]                  attribute DOMString?    ariaRowIndex;
-				[Reflect=aria_rowspan]                   attribute DOMString?    ariaRowSpan;
-				[Reflect=aria_selected]                  attribute DOMString?    ariaSelected;
-				[Reflect=aria_setsize]                   attribute DOMString?    ariaSetSize;
-				                                readonly attribute DOMTokenList? ariaSort;
-				[Reflect=aria_valuemax]                  attribute DOMString?    ariaValueMax;
-				[Reflect=aria_valuemin]                  attribute DOMString?    ariaValueMin;
-				[Reflect=aria_valuenow]                  attribute DOMString?    ariaValueNow;
-				[Reflect=aria_valuetext]                 attribute DOMString?    ariaValueText;
+				[Reflect=aria_activedescendant] attribute DOMString? ariaActiveDescendant;
+				[Reflect=aria_atomic]           attribute DOMString? ariaAtomic;
+				[Reflect=aria_autocomplete]     attribute DOMString? ariaAutoComplete;
+				[Reflect=aria_busy]             attribute DOMString? ariaBusy;
+				[Reflect=aria_checked]          attribute DOMString? ariaChecked;
+				[Reflect=aria_colcount]         attribute DOMString? ariaColCount;
+				[Reflect=aria_colindex]         attribute DOMString? ariaColIndex;
+				[Reflect=aria_colspan]          attribute DOMString? ariaColSpan;
+				[Reflect=aria_controls]         attribute DOMString? ariaControls;
+				[Reflect=aria_current]          attribute DOMString? ariaCurrent;
+				[Reflect=aria_describedby]      attribute DOMString? ariaDescribedBy;
+				[Reflect=aria_detail]           attribute DOMString? ariaDetails;
+				[Reflect=aria_disabled]         attribute DOMString? ariaDisabled;
+				[Reflect=aria_errormessage]     attribute DOMString? ariaErrorMessage;
+				[Reflect=aria_expanded]         attribute DOMString? ariaExpanded;
+				[Reflect=aria_flowto]           attribute DOMString? ariaFlowTo;
+				[Reflect=aria_haspopup]         attribute DOMString? ariaHasPopup;
+				[Reflect=aria_hidden]           attribute DOMString? ariaHidden;
+				[Reflect=aria_invalid]          attribute DOMString? ariaInvalid;
+				[Reflect=aria_shortcuts]        attribute DOMString? ariaKeyShortcuts;
+				[Reflect=aria_label]            attribute DOMString? ariaLabel;
+				[Reflect=aria_labelledby]       attribute DOMString? ariaLabelledBy;
+				[Reflect=aria_level]            attribute DOMString? ariaLevel;
+				[Reflect=aria_live]             attribute DOMString? ariaLive;
+				[Reflect=aria_modal]            attribute DOMString? ariaModal;
+				[Reflect=aria_multiline]        attribute DOMString? ariaMultiLine;
+				[Reflect=aria_multiselectable]  attribute DOMString? ariaMultiSelectable;
+				[Reflect=aria_orientation]      attribute DOMString? ariaOrientation;
+				[Reflect=aria_owns]             attribute DOMString? ariaOwns;
+				[Reflect=aria_placeholder]      attribute DOMString? ariaPlaceholder;
+				[Reflect=aria_posinset]         attribute DOMString? ariaPosInSet;
+				[Reflect=aria_pressed]          attribute DOMString? ariaPressed;
+				[Reflect=aria_readonly]         attribute DOMString? ariaReadOnly;
+				[Reflect=aria_relevant]         attribute DOMString? ariaRelevant;
+				[Reflect=aria_required]         attribute DOMString? ariaRequired;
+				[Reflect=aria_roledescription]  attribute DOMString? ariaRoleDescription;
+				[Reflect=aria_rowcount]         attribute DOMString? ariaRowCount;
+				[Reflect=aria_rowindex]         attribute DOMString? ariaRowIndex;
+				[Reflect=aria_rowspan]          attribute DOMString? ariaRowSpan;
+				[Reflect=aria_selected]         attribute DOMString? ariaSelected;
+				[Reflect=aria_setsize]          attribute DOMString? ariaSetSize;
+				[Reflect=aria_sort]             attribute DOMString? ariaSort;
+				[Reflect=aria_valuemax]         attribute DOMString? ariaValueMax;
+				[Reflect=aria_valuemin]         attribute DOMString? ariaValueMin;
+				[Reflect=aria_valuenow]         attribute DOMString? ariaValueNow;
+				[Reflect=aria_valuetext]        attribute DOMString? ariaValueText;
 			};
 			Element includes AriaAttributes;
 		
+

Note: Attributes aria-dropeffect and aria-grabbed were deprecated in ARIA 1.1 and do not have corresponding IDL attributes.

@@ -11090,7 +11091,6 @@

ARIA Attribute Reflection

ariaValueNowaria-valuenow ariaValueTextaria-valuetext -

Note: Attributes aria-dropeffect and aria-grabbed were deprecated in ARIA 1.1 and do not have reflected IDL attributes.

Disambiguation Pattern

Though specification authors may make exceptions to this pattern, the following rules were used to disambiguate names and case of the IDL attributes listed above.