diff options
Diffstat (limited to 'components/script/dom')
77 files changed, 1050 insertions, 723 deletions
diff --git a/components/script/dom/webidls/Attr.webidl b/components/script/dom/webidls/Attr.webidl index 79449804081..9d96d0e50bf 100644 --- a/components/script/dom/webidls/Attr.webidl +++ b/components/script/dom/webidls/Attr.webidl @@ -18,11 +18,11 @@ interface Attr { readonly attribute DOMString name; [Constant] readonly attribute DOMString nodeName; // historical alias of .name - [Pure] + [CEReactions, Pure] attribute DOMString value; - [Pure] + [CEReactions, Pure] attribute DOMString textContent; // historical alias of .value - [Pure] + [CEReactions, Pure] attribute DOMString nodeValue; // historical alias of .value [Pure] diff --git a/components/script/dom/webidls/CSSStyleDeclaration.webidl b/components/script/dom/webidls/CSSStyleDeclaration.webidl index efe1d57b038..a7eb0289b84 100644 --- a/components/script/dom/webidls/CSSStyleDeclaration.webidl +++ b/components/script/dom/webidls/CSSStyleDeclaration.webidl @@ -10,434 +10,434 @@ [Exposed=Window] interface CSSStyleDeclaration { - [SetterThrows] + [CEReactions, SetterThrows] attribute DOMString cssText; readonly attribute unsigned long length; getter DOMString item(unsigned long index); DOMString getPropertyValue(DOMString property); DOMString getPropertyPriority(DOMString property); - [Throws] + [CEReactions, Throws] void setProperty(DOMString property, [TreatNullAs=EmptyString] DOMString value, [TreatNullAs=EmptyString] optional DOMString priority = ""); - [Throws] + [CEReactions, Throws] void setPropertyValue(DOMString property, [TreatNullAs=EmptyString] DOMString value); - [Throws] + [CEReactions, Throws] void setPropertyPriority(DOMString property, [TreatNullAs=EmptyString] DOMString priority); - [Throws] + [CEReactions, Throws] DOMString removeProperty(DOMString property); - //readonly attribute CSSRule? parentRule; - [SetterThrows] + // readonly attribute CSSRule? parentRule; + [CEReactions, SetterThrows] attribute DOMString cssFloat; }; partial interface CSSStyleDeclaration { - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString all; - - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString background; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString backgroundColor; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString background-color; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString backgroundPosition; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString background-position; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString backgroundPositionX; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString background-position-x; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString backgroundPositionY; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString background-position-y; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString backgroundRepeat; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString background-repeat; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString backgroundImage; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString background-image; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString backgroundAttachment; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString background-attachment; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString backgroundSize; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString background-size; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString backgroundOrigin; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString background-origin; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString backgroundClip; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString background-clip; - - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderColor; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-color; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderRadius; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-radius; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderSpacing; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-spacing; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderStyle; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-style; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderWidth; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-width; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderBottom; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-bottom; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderBottomColor; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-bottom-color; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderBottomLeftRadius; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-bottom-left-radius; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderBottomRightRadius; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-bottom-right-radius; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderBottomStyle; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-bottom-style; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderBottomWidth; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-bottom-width; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderLeft; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-left; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderLeftColor; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-left-color; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderLeftStyle; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-left-style; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderLeftWidth; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-left-width; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderRight; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-right; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderRightColor; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-right-color; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderRightStyle; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-right-style; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderRightWidth; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-right-width; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderTop; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-top; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderTopColor; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-top-color; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderTopLeftRadius; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-top-left-radius; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderTopRightRadius; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-top-right-radius; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderTopStyle; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-top-style; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderTopWidth; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-top-width; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-image-source; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderImageSource; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-image-slice; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderImageSlice; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-image-repeat; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderImageRepeat; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-image-outset; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderImageOutset; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-image-width; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderImageWidth; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-image; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderImage; - - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-block-start-color; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderBlockStartColor; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-block-start-width; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderBlockStartWidth; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-block-start-style; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderBlockStartStyle; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-block-end-color; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderBlockEndColor; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-block-end-width; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderBlockEndWidth; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-block-end-style; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderBlockEndStyle; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-inline-start-color; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderInlineStartColor; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-inline-start-width; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderInlineStartWidth; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-inline-start-style; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderInlineStartStyle; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-inline-end-color; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderInlineEndColor; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-inline-end-width; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderInlineEndWidth; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-inline-end-style; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderInlineEndStyle; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-block-start; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderBlockStart; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-block-end; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderBlockEnd; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-inline-start; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderInlineStart; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-inline-end; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderInlineEnd; - - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString content; - - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString color; - - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString display; - - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString opacity; - - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString visibility; - - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString cursor; - - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString boxSizing; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString box-sizing; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString boxShadow; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString box-shadow; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString textShadow; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString text-shadow; - - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString _float; - - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString clear; - - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString clip; - - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString transform; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString transformOrigin; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString transform-origin; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString perspective; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString perspectiveOrigin; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString perspective-origin; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString transformStyle; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString transform-style; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString backfaceVisibility; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString backface-visibility; - - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString direction; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString unicodeBidi; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString unicode-bidi; - - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString filter; - - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString lineHeight; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString line-height; - - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString mixBlendMode; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString mix-blend-mode; - - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString verticalAlign; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString vertical-align; - - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString listStyle; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString list-style; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString listStylePosition; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString list-style-position; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString listStyleType; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString list-style-type; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString listStyleImage; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString list-style-image; - - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString quotes; - - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString counterIncrement; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString counter-increment; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString counterReset; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString counter-reset; - - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString overflow; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString overflowX; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString overflow-x; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString overflowY; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString overflow-y; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString overflowWrap; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString overflow-wrap; - - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString tableLayout; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString table-layout; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderCollapse; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-collapse; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString emptyCells; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString empty-cells; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString captionSide; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString caption-side; - - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString whiteSpace; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString white-space; - - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString writingMode; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString writing-mode; - - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString letterSpacing; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString letter-spacing; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString wordBreak; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString word-break; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString wordSpacing; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString word-spacing; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString wordWrap; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString word-wrap; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString textOverflow; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString text-overflow; - - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString textAlign; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString text-align; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString textDecoration; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString text-decoration; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString textDecorationLine; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString text-decoration-line; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString textIndent; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString text-indent; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString textJustify; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString text-justify; - //[SetterThrows, TreatNullAs=EmptyString] attribute DOMString textOrientation; - //[SetterThrows, TreatNullAs=EmptyString] attribute DOMString text-orientation; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString textRendering; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString text-rendering; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString textTransform; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString text-transform; - - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString font; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString fontFamily; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString font-family; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString fontSize; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString font-size; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString fontStretch; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString font-stretch; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString fontStyle; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString font-style; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString fontVariant; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString font-variant; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString fontVariantCaps; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString font-variant-caps; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString fontWeight; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString font-weight; - - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString margin; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString marginBottom; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString margin-bottom; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString marginLeft; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString margin-left; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString marginRight; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString margin-right; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString marginTop; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString margin-top; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString margin-block-start; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString marginBlockStart; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString margin-block-end; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString marginBlockEnd; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString margin-inline-start; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString marginInlineStart; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString margin-inline-end; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString marginInlineEnd; - - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString padding; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString paddingBottom; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString padding-bottom; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString paddingLeft; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString padding-left; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString paddingRight; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString padding-right; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString paddingTop; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString padding-top; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString padding-block-start; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString paddingBlockStart; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString padding-block-end; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString paddingBlockEnd; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString padding-inline-start; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString paddingInlineStart; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString padding-inline-end; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString paddingInlineEnd; - - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString outline; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString outlineColor; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString outline-color; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString outlineStyle; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString outline-style; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString outlineWidth; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString outline-width; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString outlineOffset; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString outline-offset; - - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString position; - - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString pointerEvents; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString pointer-events; - - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString top; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString right; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString left; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString bottom; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString offset-block-start; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString offsetBlockStart; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString offset-block-end; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString offsetBlockEnd; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString offset-inline-start; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString offsetInlineStart; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString offset-inline-end; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString offsetInlineEnd; - - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString height; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString minHeight; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString min-height; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString maxHeight; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString max-height; - - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString width; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString minWidth; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString min-width; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString maxWidth; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString max-width; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString block-size; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString blockSize; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString inline-size; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString inlineSize; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString max-block-size; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString maxBlockSize; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString max-inline-size; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString maxInlineSize; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString min-block-size; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString minBlockSize; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString min-inline-size; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString minInlineSize; - - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString zIndex; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString z-index; - - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString imageRendering; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString image-rendering; - - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString columnCount; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString column-count; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString columnWidth; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString column-width; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString columns; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString columnGap; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString column-gap; - - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString transition; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString transitionDuration; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString transition-duration; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString transitionTimingFunction; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString transition-timing-function; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString transitionProperty; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString transition-property; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString transitionDelay; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString transition-delay; - - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString flex; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString flexFlow; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString flex-flow; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString flexDirection; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString flex-direction; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString flexWrap; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString flex-wrap; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString justifyContent; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString justify-content; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString alignItems; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString align-items; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString alignContent; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString align-content; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString order; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString flexBasis; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString flex-basis; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString flexGrow; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString flex-grow; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString flexShrink; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString flex-shrink; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString alignSelf; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString align-self; - - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString animation; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString animation-name; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString animationName; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString animation-duration; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString animationDuration; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString animation-timing-function; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString animationTimingFunction; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString animation-iteration-count; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString animationIterationCount; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString animation-direction; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString animationDirection; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString animation-play-state; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString animationPlayState; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString animation-fill-mode; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString animationFillMode; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString animation-delay; - [SetterThrows, TreatNullAs=EmptyString] attribute DOMString animationDelay; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString all; + + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString background; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString backgroundColor; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString background-color; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString backgroundPosition; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString background-position; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString backgroundPositionX; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString background-position-x; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString backgroundPositionY; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString background-position-y; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString backgroundRepeat; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString background-repeat; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString backgroundImage; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString background-image; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString backgroundAttachment; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString background-attachment; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString backgroundSize; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString background-size; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString backgroundOrigin; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString background-origin; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString backgroundClip; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString background-clip; + + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderColor; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-color; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderRadius; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-radius; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderSpacing; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-spacing; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderStyle; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-style; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderWidth; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-width; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderBottom; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-bottom; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderBottomColor; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-bottom-color; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderBottomLeftRadius; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-bottom-left-radius; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderBottomRightRadius; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-bottom-right-radius; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderBottomStyle; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-bottom-style; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderBottomWidth; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-bottom-width; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderLeft; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-left; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderLeftColor; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-left-color; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderLeftStyle; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-left-style; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderLeftWidth; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-left-width; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderRight; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-right; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderRightColor; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-right-color; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderRightStyle; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-right-style; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderRightWidth; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-right-width; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderTop; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-top; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderTopColor; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-top-color; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderTopLeftRadius; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-top-left-radius; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderTopRightRadius; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-top-right-radius; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderTopStyle; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-top-style; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderTopWidth; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-top-width; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-image-source; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderImageSource; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-image-slice; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderImageSlice; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-image-repeat; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderImageRepeat; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-image-outset; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderImageOutset; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-image-width; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderImageWidth; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-image; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderImage; + + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-block-start-color; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderBlockStartColor; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-block-start-width; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderBlockStartWidth; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-block-start-style; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderBlockStartStyle; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-block-end-color; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderBlockEndColor; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-block-end-width; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderBlockEndWidth; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-block-end-style; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderBlockEndStyle; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-inline-start-color; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderInlineStartColor; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-inline-start-width; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderInlineStartWidth; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-inline-start-style; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderInlineStartStyle; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-inline-end-color; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderInlineEndColor; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-inline-end-width; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderInlineEndWidth; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-inline-end-style; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderInlineEndStyle; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-block-start; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderBlockStart; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-block-end; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderBlockEnd; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-inline-start; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderInlineStart; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-inline-end; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderInlineEnd; + + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString content; + + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString color; + + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString display; + + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString opacity; + + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString visibility; + + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString cursor; + + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString boxSizing; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString box-sizing; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString boxShadow; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString box-shadow; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString textShadow; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString text-shadow; + + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString _float; + + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString clear; + + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString clip; + + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString transform; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString transformOrigin; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString transform-origin; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString perspective; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString perspectiveOrigin; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString perspective-origin; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString transformStyle; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString transform-style; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString backfaceVisibility; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString backface-visibility; + + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString direction; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString unicodeBidi; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString unicode-bidi; + + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString filter; + + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString lineHeight; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString line-height; + + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString mixBlendMode; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString mix-blend-mode; + + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString verticalAlign; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString vertical-align; + + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString listStyle; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString list-style; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString listStylePosition; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString list-style-position; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString listStyleType; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString list-style-type; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString listStyleImage; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString list-style-image; + + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString quotes; + + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString counterIncrement; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString counter-increment; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString counterReset; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString counter-reset; + + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString overflow; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString overflowX; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString overflow-x; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString overflowY; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString overflow-y; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString overflowWrap; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString overflow-wrap; + + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString tableLayout; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString table-layout; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderCollapse; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-collapse; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString emptyCells; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString empty-cells; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString captionSide; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString caption-side; + + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString whiteSpace; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString white-space; + + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString writingMode; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString writing-mode; + + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString letterSpacing; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString letter-spacing; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString wordBreak; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString word-break; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString wordSpacing; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString word-spacing; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString wordWrap; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString word-wrap; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString textOverflow; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString text-overflow; + + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString textAlign; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString text-align; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString textDecoration; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString text-decoration; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString textDecorationLine; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString text-decoration-line; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString textIndent; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString text-indent; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString textJustify; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString text-justify; + // [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString textOrientation; + // [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString text-orientation; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString textRendering; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString text-rendering; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString textTransform; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString text-transform; + + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString font; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString fontFamily; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString font-family; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString fontSize; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString font-size; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString fontStretch; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString font-stretch; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString fontStyle; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString font-style; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString fontVariant; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString font-variant; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString fontVariantCaps; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString font-variant-caps; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString fontWeight; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString font-weight; + + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString margin; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString marginBottom; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString margin-bottom; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString marginLeft; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString margin-left; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString marginRight; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString margin-right; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString marginTop; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString margin-top; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString margin-block-start; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString marginBlockStart; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString margin-block-end; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString marginBlockEnd; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString margin-inline-start; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString marginInlineStart; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString margin-inline-end; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString marginInlineEnd; + + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString padding; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString paddingBottom; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString padding-bottom; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString paddingLeft; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString padding-left; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString paddingRight; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString padding-right; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString paddingTop; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString padding-top; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString padding-block-start; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString paddingBlockStart; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString padding-block-end; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString paddingBlockEnd; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString padding-inline-start; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString paddingInlineStart; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString padding-inline-end; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString paddingInlineEnd; + + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString outline; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString outlineColor; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString outline-color; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString outlineStyle; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString outline-style; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString outlineWidth; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString outline-width; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString outlineOffset; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString outline-offset; + + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString position; + + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString pointerEvents; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString pointer-events; + + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString top; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString right; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString left; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString bottom; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString offset-block-start; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString offsetBlockStart; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString offset-block-end; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString offsetBlockEnd; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString offset-inline-start; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString offsetInlineStart; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString offset-inline-end; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString offsetInlineEnd; + + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString height; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString minHeight; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString min-height; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString maxHeight; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString max-height; + + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString width; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString minWidth; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString min-width; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString maxWidth; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString max-width; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString block-size; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString blockSize; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString inline-size; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString inlineSize; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString max-block-size; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString maxBlockSize; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString max-inline-size; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString maxInlineSize; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString min-block-size; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString minBlockSize; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString min-inline-size; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString minInlineSize; + + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString zIndex; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString z-index; + + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString imageRendering; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString image-rendering; + + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString columnCount; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString column-count; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString columnWidth; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString column-width; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString columns; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString columnGap; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString column-gap; + + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString transition; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString transitionDuration; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString transition-duration; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString transitionTimingFunction; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString transition-timing-function; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString transitionProperty; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString transition-property; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString transitionDelay; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString transition-delay; + + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString flex; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString flexFlow; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString flex-flow; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString flexDirection; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString flex-direction; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString flexWrap; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString flex-wrap; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString justifyContent; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString justify-content; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString alignItems; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString align-items; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString alignContent; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString align-content; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString order; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString flexBasis; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString flex-basis; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString flexGrow; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString flex-grow; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString flexShrink; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString flex-shrink; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString alignSelf; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString align-self; + + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString animation; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString animation-name; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString animationName; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString animation-duration; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString animationDuration; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString animation-timing-function; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString animationTimingFunction; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString animation-iteration-count; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString animationIterationCount; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString animation-direction; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString animationDirection; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString animation-play-state; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString animationPlayState; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString animation-fill-mode; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString animationFillMode; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString animation-delay; + [CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString animationDelay; }; diff --git a/components/script/dom/webidls/ChildNode.webidl b/components/script/dom/webidls/ChildNode.webidl index ca642048d11..d10538b43e1 100644 --- a/components/script/dom/webidls/ChildNode.webidl +++ b/components/script/dom/webidls/ChildNode.webidl @@ -8,13 +8,13 @@ [NoInterfaceObject] interface ChildNode { - [Throws, Unscopable] + [Throws, CEReactions, Unscopable] void before((Node or DOMString)... nodes); - [Throws, Unscopable] + [Throws, CEReactions, Unscopable] void after((Node or DOMString)... nodes); - [Throws, Unscopable] + [Throws, CEReactions, Unscopable] void replaceWith((Node or DOMString)... nodes); - [Unscopable] + [CEReactions, Unscopable] void remove(); }; diff --git a/components/script/dom/webidls/CustomElementRegistry.webidl b/components/script/dom/webidls/CustomElementRegistry.webidl index 263726e1e47..de0a25eb58f 100644 --- a/components/script/dom/webidls/CustomElementRegistry.webidl +++ b/components/script/dom/webidls/CustomElementRegistry.webidl @@ -5,7 +5,7 @@ // https://html.spec.whatwg.org/multipage/#customelementregistry [Pref="dom.customelements.enabled"] interface CustomElementRegistry { - [Throws/*, CEReactions */] + [Throws, CEReactions] void define(DOMString name, Function constructor_, optional ElementDefinitionOptions options); any get(DOMString name); diff --git a/components/script/dom/webidls/DOMStringMap.webidl b/components/script/dom/webidls/DOMStringMap.webidl index f9801a45174..a6c409ad5c2 100644 --- a/components/script/dom/webidls/DOMStringMap.webidl +++ b/components/script/dom/webidls/DOMStringMap.webidl @@ -6,7 +6,8 @@ [OverrideBuiltins] interface DOMStringMap { getter DOMString (DOMString name); - [Throws] + [CEReactions, Throws] setter void (DOMString name, DOMString value); + [CEReactions] deleter void (DOMString name); }; diff --git a/components/script/dom/webidls/DOMTokenList.webidl b/components/script/dom/webidls/DOMTokenList.webidl index 4d2b9f691a4..3f2095961e1 100644 --- a/components/script/dom/webidls/DOMTokenList.webidl +++ b/components/script/dom/webidls/DOMTokenList.webidl @@ -11,16 +11,16 @@ interface DOMTokenList { [Pure] boolean contains(DOMString token); - [Throws] + [CEReactions, Throws] void add(DOMString... tokens); - [Throws] + [CEReactions, Throws] void remove(DOMString... tokens); - [Throws] + [CEReactions, Throws] boolean toggle(DOMString token, optional boolean force); - [Throws] + [CEReactions, Throws] void replace(DOMString token, DOMString newToken); - [Pure] + [CEReactions, Pure] attribute DOMString value; stringifier; diff --git a/components/script/dom/webidls/Document.webidl b/components/script/dom/webidls/Document.webidl index 457d92394d2..6f2f381ce28 100644 --- a/components/script/dom/webidls/Document.webidl +++ b/components/script/dom/webidls/Document.webidl @@ -45,9 +45,9 @@ interface Document : Node { [NewObject, Throws] ProcessingInstruction createProcessingInstruction(DOMString target, DOMString data); - [NewObject, Throws] + [CEReactions, NewObject, Throws] Node importNode(Node node, optional boolean deep = false); - [Throws] + [CEReactions, Throws] Node adoptNode(Node node); [NewObject, Throws] @@ -94,9 +94,11 @@ partial /*sealed*/ interface Document { // DOM tree accessors getter object (DOMString name); + [CEReactions] attribute DOMString title; + // [CEReactions] // attribute DOMString dir; - [SetterThrows] + [CEReactions, SetterThrows] attribute HTMLElement? body; readonly attribute HTMLHeadElement? head; [SameObject] @@ -115,21 +117,23 @@ partial /*sealed*/ interface Document { readonly attribute HTMLScriptElement? currentScript; // dynamic markup insertion - [Throws] + [CEReactions, Throws] Document open(optional DOMString type = "text/html", optional DOMString replace = ""); // WindowProxy open(DOMString url, DOMString name, DOMString features, optional boolean replace = false); - [Throws] + [CEReactions, Throws] void close(); - [Throws] + [CEReactions, Throws] void write(DOMString... text); - [Throws] + [CEReactions, Throws] void writeln(DOMString... text); // user interaction readonly attribute Window?/*Proxy?*/ defaultView; readonly attribute Element? activeElement; boolean hasFocus(); + // [CEReactions] // attribute DOMString designMode; + // [CEReactions] // boolean execCommand(DOMString commandId, optional boolean showUI = false, optional DOMString value = ""); // boolean queryCommandEnabled(DOMString commandId); // boolean queryCommandIndeterm(DOMString commandId); @@ -147,18 +151,23 @@ Document implements DocumentAndElementEventHandlers; // https://html.spec.whatwg.org/multipage/#Document-partial partial interface Document { - [TreatNullAs=EmptyString] attribute DOMString fgColor; + [CEReactions, TreatNullAs=EmptyString] + attribute DOMString fgColor; // https://github.com/servo/servo/issues/8715 - // [TreatNullAs=EmptyString] attribute DOMString linkColor; + // [CEReactions, TreatNullAs=EmptyString] + // attribute DOMString linkColor; // https://github.com/servo/servo/issues/8716 - // [TreatNullAs=EmptyString] attribute DOMString vlinkColor; + // [CEReactions, TreatNullAs=EmptyString] + // attribute DOMString vlinkColor; // https://github.com/servo/servo/issues/8717 - // [TreatNullAs=EmptyString] attribute DOMString alinkColor; + // [CEReactions, TreatNullAs=EmptyString] + // attribute DOMString alinkColor; - [TreatNullAs=EmptyString] attribute DOMString bgColor; + [CEReactions, TreatNullAs=EmptyString] + attribute DOMString bgColor; [SameObject] readonly attribute HTMLCollection anchors; diff --git a/components/script/dom/webidls/Element.webidl b/components/script/dom/webidls/Element.webidl index c099b2a04ae..76aebda7e13 100644 --- a/components/script/dom/webidls/Element.webidl +++ b/components/script/dom/webidls/Element.webidl @@ -23,9 +23,9 @@ interface Element : Node { [Pure] readonly attribute DOMString tagName; - [Pure] + [CEReactions, Pure] attribute DOMString id; - [Pure] + [CEReactions, Pure] attribute DOMString className; [SameObject, PutForwards=value] readonly attribute DOMTokenList classList; @@ -40,11 +40,13 @@ interface Element : Node { DOMString? getAttribute(DOMString name); [Pure] DOMString? getAttributeNS(DOMString? namespace, DOMString localName); - [Throws] + [CEReactions, Throws] void setAttribute(DOMString name, DOMString value); - [Throws] + [CEReactions, Throws] void setAttributeNS(DOMString? namespace, DOMString name, DOMString value); + [CEReactions] void removeAttribute(DOMString name); + [CEReactions] void removeAttributeNS(DOMString? namespace, DOMString localName); boolean hasAttribute(DOMString name); boolean hasAttributeNS(DOMString? namespace, DOMString localName); @@ -53,11 +55,11 @@ interface Element : Node { Attr? getAttributeNode(DOMString name); [Pure] Attr? getAttributeNodeNS(DOMString? namespace, DOMString localName); - [Throws] + [CEReactions, Throws] Attr? setAttributeNode(Attr attr); - [Throws] + [CEReactions, Throws] Attr? setAttributeNodeNS(Attr attr); - [Throws] + [CEReactions, Throws] Attr removeAttributeNode(Attr oldAttr); [Pure, Throws] @@ -71,7 +73,7 @@ interface Element : Node { HTMLCollection getElementsByTagNameNS(DOMString? namespace, DOMString localName); HTMLCollection getElementsByClassName(DOMString classNames); - [Throws] + [CEReactions, Throws] Element? insertAdjacentElement(DOMString where_, Element element); // historical [Throws] void insertAdjacentText(DOMString where_, DOMString data); @@ -105,9 +107,9 @@ partial interface Element { // https://w3c.github.io/DOM-Parsing/#extensions-to-the-element-interface partial interface Element { - [Throws,TreatNullAs=EmptyString] + [CEReactions, Throws,TreatNullAs=EmptyString] attribute DOMString innerHTML; - [Throws,TreatNullAs=EmptyString] + [CEReactions, Throws,TreatNullAs=EmptyString] attribute DOMString outerHTML; }; diff --git a/components/script/dom/webidls/ElementContentEditable.webidl b/components/script/dom/webidls/ElementContentEditable.webidl index e9811eca835..4af7219c134 100644 --- a/components/script/dom/webidls/ElementContentEditable.webidl +++ b/components/script/dom/webidls/ElementContentEditable.webidl @@ -5,6 +5,7 @@ // https://html.spec.whatwg.org/multipage/#elementcontenteditable [NoInterfaceObject, Exposed=Window] interface ElementContentEditable { + // [CEReactions] // attribute DOMString contentEditable; // readonly attribute boolean isContentEditable; }; diff --git a/components/script/dom/webidls/HTMLAnchorElement.webidl b/components/script/dom/webidls/HTMLAnchorElement.webidl index 0b79567c719..a8944bede64 100644 --- a/components/script/dom/webidls/HTMLAnchorElement.webidl +++ b/components/script/dom/webidls/HTMLAnchorElement.webidl @@ -13,15 +13,21 @@ // https://html.spec.whatwg.org/multipage/#htmlanchorelement [HTMLConstructor] interface HTMLAnchorElement : HTMLElement { + [CEReactions] attribute DOMString target; + // [CEReactions] // attribute DOMString download; + // [CEReactions] // attribute USVString ping; + [CEReactions] attribute DOMString rel; readonly attribute DOMTokenList relList; + // [CEReactions] // attribute DOMString hreflang; + // [CEReactions] // attribute DOMString type; - [Pure] + [CEReactions, Pure] attribute DOMString text; // also has obsolete members @@ -30,9 +36,14 @@ HTMLAnchorElement implements HTMLHyperlinkElementUtils; // https://html.spec.whatwg.org/multipage/#HTMLAnchorElement-partial partial interface HTMLAnchorElement { + [CEReactions] attribute DOMString coords; - // attribute DOMString charset; + // [CEReactions] + // attribute DOMString charset; + [CEReactions] attribute DOMString name; + [CEReactions] attribute DOMString rev; + [CEReactions] attribute DOMString shape; }; diff --git a/components/script/dom/webidls/HTMLAreaElement.webidl b/components/script/dom/webidls/HTMLAreaElement.webidl index b0395d39b2c..761d4635aff 100644 --- a/components/script/dom/webidls/HTMLAreaElement.webidl +++ b/components/script/dom/webidls/HTMLAreaElement.webidl @@ -5,12 +5,19 @@ // https://html.spec.whatwg.org/multipage/#htmlareaelement [HTMLConstructor] interface HTMLAreaElement : HTMLElement { + // [CEReactions] // attribute DOMString alt; + // [CEReactions] // attribute DOMString coords; + // [CEReactions] // attribute DOMString shape; + // [CEReactions] // attribute DOMString target; + // [CEReactions] // attribute DOMString download; + // [CEReactions] // attribute USVString ping; + // [CEReactions] // attribute DOMString rel; readonly attribute DOMTokenList relList; // hreflang and type are not reflected @@ -19,5 +26,6 @@ interface HTMLAreaElement : HTMLElement { // https://html.spec.whatwg.org/multipage/#HTMLAreaElement-partial partial interface HTMLAreaElement { - // attribute boolean noHref; + // [CEReactions] + // attribute boolean noHref; }; diff --git a/components/script/dom/webidls/HTMLBaseElement.webidl b/components/script/dom/webidls/HTMLBaseElement.webidl index 6192cc600cd..ce2c50e1d97 100644 --- a/components/script/dom/webidls/HTMLBaseElement.webidl +++ b/components/script/dom/webidls/HTMLBaseElement.webidl @@ -5,6 +5,8 @@ // https://html.spec.whatwg.org/multipage/#htmlbaseelement [HTMLConstructor] interface HTMLBaseElement : HTMLElement { - attribute DOMString href; -// attribute DOMString target; + [CEReactions] + attribute DOMString href; + // [CEReactions] + // attribute DOMString target; }; diff --git a/components/script/dom/webidls/HTMLBodyElement.webidl b/components/script/dom/webidls/HTMLBodyElement.webidl index f2e9104f275..fa645dac60b 100644 --- a/components/script/dom/webidls/HTMLBodyElement.webidl +++ b/components/script/dom/webidls/HTMLBodyElement.webidl @@ -11,17 +11,17 @@ HTMLBodyElement implements WindowEventHandlers; // https://html.spec.whatwg.org/multipage/#HTMLBodyElement-partial partial interface HTMLBodyElement { - [TreatNullAs=EmptyString] attribute DOMString text; + [CEReactions, TreatNullAs=EmptyString] attribute DOMString text; // https://github.com/servo/servo/issues/8715 - //[TreatNullAs=EmptyString] attribute DOMString link; + //[CEReactions, TreatNullAs=EmptyString] attribute DOMString link; // https://github.com/servo/servo/issues/8716 - //[TreatNullAs=EmptyString] attribute DOMString vLink; + //[CEReactions, TreatNullAs=EmptyString] attribute DOMString vLink; // https://github.com/servo/servo/issues/8717 - //[TreatNullAs=EmptyString] attribute DOMString aLink; + //[CEReactions, TreatNullAs=EmptyString] attribute DOMString aLink; - [TreatNullAs=EmptyString] attribute DOMString bgColor; - attribute DOMString background; + [CEReactions, TreatNullAs=EmptyString] attribute DOMString bgColor; + [CEReactions] attribute DOMString background; }; diff --git a/components/script/dom/webidls/HTMLButtonElement.webidl b/components/script/dom/webidls/HTMLButtonElement.webidl index 92932680ff8..7ef0f8a5b10 100644 --- a/components/script/dom/webidls/HTMLButtonElement.webidl +++ b/components/script/dom/webidls/HTMLButtonElement.webidl @@ -5,17 +5,27 @@ // https://html.spec.whatwg.org/multipage/#htmlbuttonelement [HTMLConstructor] interface HTMLButtonElement : HTMLElement { + // [CEReactions] // attribute boolean autofocus; - attribute boolean disabled; + [CEReactions] + attribute boolean disabled; readonly attribute HTMLFormElement? form; - attribute DOMString formAction; - attribute DOMString formEnctype; - attribute DOMString formMethod; - attribute boolean formNoValidate; - attribute DOMString formTarget; - attribute DOMString name; - attribute DOMString type; - attribute DOMString value; + [CEReactions] + attribute DOMString formAction; + [CEReactions] + attribute DOMString formEnctype; + [CEReactions] + attribute DOMString formMethod; + [CEReactions] + attribute boolean formNoValidate; + [CEReactions] + attribute DOMString formTarget; + [CEReactions] + attribute DOMString name; + [CEReactions] + attribute DOMString type; + [CEReactions] + attribute DOMString value; // attribute HTMLMenuElement? menu; //readonly attribute boolean willValidate; diff --git a/components/script/dom/webidls/HTMLCanvasElement.webidl b/components/script/dom/webidls/HTMLCanvasElement.webidl index df72b232a85..ca5a02e7385 100644 --- a/components/script/dom/webidls/HTMLCanvasElement.webidl +++ b/components/script/dom/webidls/HTMLCanvasElement.webidl @@ -7,9 +7,9 @@ typedef (CanvasRenderingContext2D or WebGLRenderingContext) RenderingContext; [HTMLConstructor] interface HTMLCanvasElement : HTMLElement { - [Pure] + [CEReactions, Pure] attribute unsigned long width; - [Pure] + [CEReactions, Pure] attribute unsigned long height; RenderingContext? getContext(DOMString contextId, any... arguments); diff --git a/components/script/dom/webidls/HTMLDListElement.webidl b/components/script/dom/webidls/HTMLDListElement.webidl index 865367fe473..2fc152f0e10 100644 --- a/components/script/dom/webidls/HTMLDListElement.webidl +++ b/components/script/dom/webidls/HTMLDListElement.webidl @@ -10,5 +10,6 @@ interface HTMLDListElement : HTMLElement { // https://html.spec.whatwg.org/multipage/#HTMLDListElement-partial partial interface HTMLDListElement { + // [CEReactions] // attribute boolean compact; }; diff --git a/components/script/dom/webidls/HTMLDataElement.webidl b/components/script/dom/webidls/HTMLDataElement.webidl index d36b79635c0..e74581edd6c 100644 --- a/components/script/dom/webidls/HTMLDataElement.webidl +++ b/components/script/dom/webidls/HTMLDataElement.webidl @@ -5,5 +5,6 @@ // https://html.spec.whatwg.org/multipage/#htmldataelement [HTMLConstructor] interface HTMLDataElement : HTMLElement { + [CEReactions] attribute DOMString value; }; diff --git a/components/script/dom/webidls/HTMLDetailsElement.webidl b/components/script/dom/webidls/HTMLDetailsElement.webidl index d511ce67985..cc6a5d853bc 100644 --- a/components/script/dom/webidls/HTMLDetailsElement.webidl +++ b/components/script/dom/webidls/HTMLDetailsElement.webidl @@ -5,5 +5,6 @@ // https://html.spec.whatwg.org/multipage/#htmldetailselement [HTMLConstructor] interface HTMLDetailsElement : HTMLElement { + [CEReactions] attribute boolean open; }; diff --git a/components/script/dom/webidls/HTMLDialogElement.webidl b/components/script/dom/webidls/HTMLDialogElement.webidl index dbac248cc17..9ba089e7bf1 100644 --- a/components/script/dom/webidls/HTMLDialogElement.webidl +++ b/components/script/dom/webidls/HTMLDialogElement.webidl @@ -5,9 +5,13 @@ // https://html.spec.whatwg.org/multipage/#htmldialogelement [HTMLConstructor] interface HTMLDialogElement : HTMLElement { + [CEReactions] attribute boolean open; attribute DOMString returnValue; - //void show(optional (MouseEvent or Element) anchor); - //void showModal(optional (MouseEvent or Element) anchor); + // [CEReactions] + // void show(); + // [CEReactions] + // void showModal(); + [CEReactions] void close(optional DOMString returnValue); }; diff --git a/components/script/dom/webidls/HTMLDirectoryElement.webidl b/components/script/dom/webidls/HTMLDirectoryElement.webidl index e4db8ca7af8..543b610eade 100644 --- a/components/script/dom/webidls/HTMLDirectoryElement.webidl +++ b/components/script/dom/webidls/HTMLDirectoryElement.webidl @@ -5,5 +5,6 @@ // https://html.spec.whatwg.org/multipage/#htmldirectoryelement [HTMLConstructor] interface HTMLDirectoryElement : HTMLElement { + // [CEReactions] // attribute boolean compact; }; diff --git a/components/script/dom/webidls/HTMLDivElement.webidl b/components/script/dom/webidls/HTMLDivElement.webidl index 5302f9f283e..c89f8c7c861 100644 --- a/components/script/dom/webidls/HTMLDivElement.webidl +++ b/components/script/dom/webidls/HTMLDivElement.webidl @@ -10,5 +10,6 @@ interface HTMLDivElement : HTMLElement { // https://html.spec.whatwg.org/multipage/#HTMLDivElement-partial partial interface HTMLDivElement { + [CEReactions] attribute DOMString align; }; diff --git a/components/script/dom/webidls/HTMLElement.webidl b/components/script/dom/webidls/HTMLElement.webidl index e3613736c8b..845b4445f9c 100644 --- a/components/script/dom/webidls/HTMLElement.webidl +++ b/components/script/dom/webidls/HTMLElement.webidl @@ -6,9 +6,13 @@ [HTMLConstructor] interface HTMLElement : Element { // metadata attributes + [CEReactions] attribute DOMString title; + [CEReactions] attribute DOMString lang; + // [CEReactions] // attribute boolean translate; + // [CEReactions] // attribute DOMString dir; readonly attribute DOMStringMap dataset; @@ -19,26 +23,31 @@ interface HTMLElement : Element { // attribute any itemValue; // acts as DOMString on setting // user interaction + [CEReactions] attribute boolean hidden; void click(); + // [CEReactions] // attribute long tabIndex; void focus(); void blur(); + // [CEReactions] // attribute DOMString accessKey; //readonly attribute DOMString accessKeyLabel; + // [CEReactions] // attribute boolean draggable; - //[SameObject, PutForwards=value] readonly attribute DOMTokenList dropzone; + // [SameObject, PutForwards=value] readonly attribute DOMTokenList dropzone; // attribute HTMLMenuElement? contextMenu; + // [CEReactions] // attribute boolean spellcheck; - //void forceSpellCheck(); + // void forceSpellCheck(); // command API - //readonly attribute DOMString? commandType; - //readonly attribute DOMString? commandLabel; - //readonly attribute DOMString? commandIcon; - //readonly attribute boolean? commandHidden; - //readonly attribute boolean? commandDisabled; - //readonly attribute boolean? commandChecked; + // readonly attribute DOMString? commandType; + // readonly attribute DOMString? commandLabel; + // readonly attribute DOMString? commandIcon; + // readonly attribute boolean? commandHidden; + // readonly attribute boolean? commandDisabled; + // readonly attribute boolean? commandChecked; }; // http://dev.w3.org/csswg/cssom-view/#extensions-to-the-htmlelement-interface diff --git a/components/script/dom/webidls/HTMLEmbedElement.webidl b/components/script/dom/webidls/HTMLEmbedElement.webidl index a9878d3d776..268de29fbe3 100644 --- a/components/script/dom/webidls/HTMLEmbedElement.webidl +++ b/components/script/dom/webidls/HTMLEmbedElement.webidl @@ -5,9 +5,13 @@ // https://html.spec.whatwg.org/multipage/#htmlembedelement [HTMLConstructor] interface HTMLEmbedElement : HTMLElement { + // [CEReactions] // attribute DOMString src; + // [CEReactions] // attribute DOMString type; + // [CEReactions] // attribute DOMString width; + // [CEReactions] // attribute DOMString height; //legacycaller any (any... arguments); @@ -16,6 +20,8 @@ interface HTMLEmbedElement : HTMLElement { // https://html.spec.whatwg.org/multipage/#HTMLEmbedElement-partial partial interface HTMLEmbedElement { + // [CEReactions] // attribute DOMString align; + // [CEReactions] // attribute DOMString name; }; diff --git a/components/script/dom/webidls/HTMLFieldSetElement.webidl b/components/script/dom/webidls/HTMLFieldSetElement.webidl index 89100a4d7ca..964bbb8fbb6 100644 --- a/components/script/dom/webidls/HTMLFieldSetElement.webidl +++ b/components/script/dom/webidls/HTMLFieldSetElement.webidl @@ -5,8 +5,10 @@ // https://html.spec.whatwg.org/multipage/#htmlfieldsetelement [HTMLConstructor] interface HTMLFieldSetElement : HTMLElement { + [CEReactions] attribute boolean disabled; readonly attribute HTMLFormElement? form; + // [CEReactions] // attribute DOMString name; //readonly attribute DOMString type; diff --git a/components/script/dom/webidls/HTMLFontElement.webidl b/components/script/dom/webidls/HTMLFontElement.webidl index 4ad5f152ae9..e4e7a2790d8 100644 --- a/components/script/dom/webidls/HTMLFontElement.webidl +++ b/components/script/dom/webidls/HTMLFontElement.webidl @@ -5,7 +5,10 @@ // https://html.spec.whatwg.org/multipage/#htmlfontelement [HTMLConstructor] interface HTMLFontElement : HTMLElement { - [TreatNullAs=EmptyString] attribute DOMString color; + [CEReactions, TreatNullAs=EmptyString] + attribute DOMString color; + [CEReactions] attribute DOMString face; + [CEReactions] attribute DOMString size; }; diff --git a/components/script/dom/webidls/HTMLFormElement.webidl b/components/script/dom/webidls/HTMLFormElement.webidl index 74f6d8d4f15..b4a2504fd60 100644 --- a/components/script/dom/webidls/HTMLFormElement.webidl +++ b/components/script/dom/webidls/HTMLFormElement.webidl @@ -5,14 +5,23 @@ // https://html.spec.whatwg.org/multipage/#htmlformelement [/*OverrideBuiltins, */HTMLConstructor] interface HTMLFormElement : HTMLElement { + [CEReactions] attribute DOMString acceptCharset; + [CEReactions] attribute DOMString action; + [CEReactions] attribute DOMString autocomplete; + [CEReactions] attribute DOMString enctype; + [CEReactions] attribute DOMString encoding; + [CEReactions] attribute DOMString method; + [CEReactions] attribute DOMString name; + [CEReactions] attribute boolean noValidate; + [CEReactions] attribute DOMString target; [SameObject] readonly attribute HTMLFormControlsCollection elements; @@ -21,6 +30,7 @@ interface HTMLFormElement : HTMLElement { //getter (RadioNodeList or Element) (DOMString name); void submit(); + [CEReactions] void reset(); //boolean checkValidity(); //boolean reportValidity(); diff --git a/components/script/dom/webidls/HTMLFrameElement.webidl b/components/script/dom/webidls/HTMLFrameElement.webidl index 379bc545e5b..ae4ed56a478 100644 --- a/components/script/dom/webidls/HTMLFrameElement.webidl +++ b/components/script/dom/webidls/HTMLFrameElement.webidl @@ -5,15 +5,23 @@ // https://html.spec.whatwg.org/multipage/#htmlframeelement [HTMLConstructor] interface HTMLFrameElement : HTMLElement { - // attribute DOMString name; - // attribute DOMString scrolling; - // attribute DOMString src; - // attribute DOMString frameBorder; - // attribute DOMString longDesc; - // attribute boolean noResize; - //readonly attribute Document? contentDocument; - //readonly attribute WindowProxy? contentWindow; + // [CEReactions] + // attribute DOMString name; + // [CEReactions] + // attribute DOMString scrolling; + // [CEReactions] + // attribute DOMString src; + // [CEReactions] + // attribute DOMString frameBorder; + // [CEReactions] + // attribute DOMString longDesc; + // [CEReactions] + // attribute boolean noResize; + // readonly attribute Document? contentDocument; + // readonly attribute WindowProxy? contentWindow; - //[TreatNullAs=EmptyString] attribute DOMString marginHeight; - //[TreatNullAs=EmptyString] attribute DOMString marginWidth; + // [CEReactions, TreatNullAs=EmptyString] + // attribute DOMString marginHeight; + // [CEReactions, TreatNullAs=EmptyString] + // attribute DOMString marginWidth; }; diff --git a/components/script/dom/webidls/HTMLFrameSetElement.webidl b/components/script/dom/webidls/HTMLFrameSetElement.webidl index d0e3a8ad520..985426dada4 100644 --- a/components/script/dom/webidls/HTMLFrameSetElement.webidl +++ b/components/script/dom/webidls/HTMLFrameSetElement.webidl @@ -5,7 +5,9 @@ // https://html.spec.whatwg.org/multipage/#htmlframesetelement [HTMLConstructor] interface HTMLFrameSetElement : HTMLElement { + // [CEReactions] // attribute DOMString cols; + // [CEReactions] // attribute DOMString rows; }; diff --git a/components/script/dom/webidls/HTMLHRElement.webidl b/components/script/dom/webidls/HTMLHRElement.webidl index 526f1be78d7..7647eb5c296 100644 --- a/components/script/dom/webidls/HTMLHRElement.webidl +++ b/components/script/dom/webidls/HTMLHRElement.webidl @@ -10,9 +10,14 @@ interface HTMLHRElement : HTMLElement { // https://html.spec.whatwg.org/multipage/#HTMLHRElement-partial partial interface HTMLHRElement { + [CEReactions] attribute DOMString align; + [CEReactions] attribute DOMString color; - // attribute boolean noShade; - // attribute DOMString size; + // [CEReactions] + // attribute boolean noShade; + // [CEReactions] + // attribute DOMString size; + [CEReactions] attribute DOMString width; }; diff --git a/components/script/dom/webidls/HTMLHeadingElement.webidl b/components/script/dom/webidls/HTMLHeadingElement.webidl index 66298ac943a..14664ce562b 100644 --- a/components/script/dom/webidls/HTMLHeadingElement.webidl +++ b/components/script/dom/webidls/HTMLHeadingElement.webidl @@ -10,5 +10,6 @@ interface HTMLHeadingElement : HTMLElement { // https://html.spec.whatwg.org/multipage/#HTMLHeadingElement-partial partial interface HTMLHeadingElement { + // [CEReactions] // attribute DOMString align; }; diff --git a/components/script/dom/webidls/HTMLHtmlElement.webidl b/components/script/dom/webidls/HTMLHtmlElement.webidl index 10afdbf08a6..859bd98f751 100644 --- a/components/script/dom/webidls/HTMLHtmlElement.webidl +++ b/components/script/dom/webidls/HTMLHtmlElement.webidl @@ -10,5 +10,6 @@ interface HTMLHtmlElement : HTMLElement { // https://html.spec.whatwg.org/multipage/#HTMLHtmlElement-partial partial interface HTMLHtmlElement { + // [CEReactions] // attribute DOMString version; }; diff --git a/components/script/dom/webidls/HTMLHyperlinkElementUtils.webidl b/components/script/dom/webidls/HTMLHyperlinkElementUtils.webidl index a75ecb970a0..918beee2a91 100644 --- a/components/script/dom/webidls/HTMLHyperlinkElementUtils.webidl +++ b/components/script/dom/webidls/HTMLHyperlinkElementUtils.webidl @@ -5,18 +5,29 @@ // https://html.spec.whatwg.org/multipage/#htmlhyperlinkelementutils [NoInterfaceObject] interface HTMLHyperlinkElementUtils { -// stringifier attribute USVString href; - attribute USVString href; - readonly attribute USVString origin; - attribute USVString protocol; - attribute USVString username; - attribute USVString password; - attribute USVString host; - attribute USVString hostname; - attribute USVString port; - attribute USVString pathname; - attribute USVString search; - attribute USVString hash; + // [CEReactions] + // stringifier attribute USVString href; + [CEReactions] + attribute USVString href; + readonly attribute USVString origin; + [CEReactions] + attribute USVString protocol; + [CEReactions] + attribute USVString username; + [CEReactions] + attribute USVString password; + [CEReactions] + attribute USVString host; + [CEReactions] + attribute USVString hostname; + [CEReactions] + attribute USVString port; + [CEReactions] + attribute USVString pathname; + [CEReactions] + attribute USVString search; + [CEReactions] + attribute USVString hash; // Adding a separate stringifier method until // https://github.com/servo/servo/issues/7590 adds attribute stringifier diff --git a/components/script/dom/webidls/HTMLIFrameElement.webidl b/components/script/dom/webidls/HTMLIFrameElement.webidl index 3afc3df8d2d..bcccb34cb0a 100644 --- a/components/script/dom/webidls/HTMLIFrameElement.webidl +++ b/components/script/dom/webidls/HTMLIFrameElement.webidl @@ -5,17 +5,24 @@ // https://html.spec.whatwg.org/multipage/#htmliframeelement [HTMLConstructor] interface HTMLIFrameElement : HTMLElement { + [CEReactions] attribute DOMString src; + // [CEReactions] // attribute DOMString srcdoc; // https://github.com/servo/servo/issues/14453 + // [CEReactions] // attribute DOMString name; - [SameObject, PutForwards=value] + [SameObject, PutForwards=value] readonly attribute DOMTokenList sandbox; + // [CEReactions] // attribute boolean seamless; + [CEReactions] attribute boolean allowFullscreen; + [CEReactions] attribute DOMString width; + [CEReactions] attribute DOMString height; readonly attribute Document? contentDocument; readonly attribute WindowProxy? contentWindow; @@ -25,20 +32,26 @@ interface HTMLIFrameElement : HTMLElement { // https://html.spec.whatwg.org/multipage/#HTMLIFrameElement-partial partial interface HTMLIFrameElement { + // [CEReactions] // attribute DOMString align; + // [CEReactions] // attribute DOMString scrolling; + [CEReactions] attribute DOMString frameBorder; + // [CEReactions] // attribute DOMString longDesc; - //[TreatNullAs=EmptyString] attribute DOMString marginHeight; - //[TreatNullAs=EmptyString] attribute DOMString marginWidth; + // [CEReactions, TreatNullAs=EmptyString] + // attribute DOMString marginHeight; + // [CEReactions, TreatNullAs=EmptyString] + // attribute DOMString marginWidth; }; partial interface HTMLIFrameElement { - [Func="::dom::window::Window::global_is_mozbrowser"] + [CEReactions, Func="::dom::window::Window::global_is_mozbrowser"] attribute boolean mozbrowser; - [Func="::dom::window::Window::global_is_mozbrowser"] + [CEReactions, Func="::dom::window::Window::global_is_mozbrowser"] attribute boolean mozprivatebrowsing; }; diff --git a/components/script/dom/webidls/HTMLImageElement.webidl b/components/script/dom/webidls/HTMLImageElement.webidl index 0e444e23095..4f5be4daf7c 100644 --- a/components/script/dom/webidls/HTMLImageElement.webidl +++ b/components/script/dom/webidls/HTMLImageElement.webidl @@ -5,13 +5,21 @@ // https://html.spec.whatwg.org/multipage/#htmlimageelement [HTMLConstructor, NamedConstructor=Image(optional unsigned long width, optional unsigned long height)] interface HTMLImageElement : HTMLElement { + [CEReactions] attribute DOMString alt; + [CEReactions] attribute DOMString src; + // [CEReactions] // attribute DOMString srcset; + [CEReactions] attribute DOMString? crossOrigin; + [CEReactions] attribute DOMString useMap; + [CEReactions] attribute boolean isMap; + [CEReactions] attribute unsigned long width; + [CEReactions] attribute unsigned long height; readonly attribute unsigned long naturalWidth; readonly attribute unsigned long naturalHeight; @@ -22,14 +30,21 @@ interface HTMLImageElement : HTMLElement { // https://html.spec.whatwg.org/multipage/#HTMLImageElement-partial partial interface HTMLImageElement { + [CEReactions] attribute DOMString name; - // attribute DOMString lowsrc; + // [CEReactions] + // attribute DOMString lowsrc; + [CEReactions] attribute DOMString align; + [CEReactions] attribute unsigned long hspace; + [CEReactions] attribute unsigned long vspace; + [CEReactions] attribute DOMString longDesc; - [TreatNullAs=EmptyString] attribute DOMString border; + [CEReactions, TreatNullAs=EmptyString] + attribute DOMString border; }; // https://drafts.csswg.org/cssom-view/#extensions-to-the-htmlimageelement-interface diff --git a/components/script/dom/webidls/HTMLInputElement.webidl b/components/script/dom/webidls/HTMLInputElement.webidl index bfa8c32ef83..29bc4b27737 100644 --- a/components/script/dom/webidls/HTMLInputElement.webidl +++ b/components/script/dom/webidls/HTMLInputElement.webidl @@ -5,50 +5,77 @@ // https://html.spec.whatwg.org/multipage/#htmlinputelement [HTMLConstructor] interface HTMLInputElement : HTMLElement { + [CEReactions] attribute DOMString accept; + [CEReactions] attribute DOMString alt; + // [CEReactions] // attribute DOMString autocomplete; + // [CEReactions] // attribute boolean autofocus; + [CEReactions] attribute boolean defaultChecked; attribute boolean checked; + [CEReactions] attribute DOMString dirName; + [CEReactions] attribute boolean disabled; readonly attribute HTMLFormElement? form; readonly attribute FileList? files; - attribute DOMString formAction; - attribute DOMString formEnctype; - attribute DOMString formMethod; - attribute boolean formNoValidate; - attribute DOMString formTarget; - // attribute unsigned long height; - attribute boolean indeterminate; - // attribute DOMString inputMode; - //readonly attribute HTMLElement? list; + [CEReactions] + attribute DOMString formAction; + [CEReactions] + attribute DOMString formEnctype; + [CEReactions] + attribute DOMString formMethod; + [CEReactions] + attribute boolean formNoValidate; + [CEReactions] + attribute DOMString formTarget; + // [CEReactions] + // attribute unsigned long height; + attribute boolean indeterminate; + // [CEReactions] + // attribute DOMString inputMode; + // readonly attribute HTMLElement? list; + [CEReactions] attribute DOMString max; - [SetterThrows] - attribute long maxLength; + [CEReactions, SetterThrows] + attribute long maxLength; + [CEReactions] attribute DOMString min; - [SetterThrows] - attribute long minLength; + [CEReactions, SetterThrows] + attribute long minLength; + [CEReactions] attribute boolean multiple; + [CEReactions] attribute DOMString name; + [CEReactions] attribute DOMString pattern; + [CEReactions] attribute DOMString placeholder; + [CEReactions] attribute boolean readOnly; + [CEReactions] attribute boolean required; - [SetterThrows] - attribute unsigned long size; + [CEReactions, SetterThrows] + attribute unsigned long size; + [CEReactions] attribute DOMString src; + [CEReactions] attribute DOMString step; + [CEReactions] attribute DOMString type; + [CEReactions] attribute DOMString defaultValue; -[TreatNullAs=EmptyString, SetterThrows] + [CEReactions, TreatNullAs=EmptyString, SetterThrows] attribute DOMString value; - // attribute Date? valueAsDate; - // attribute unrestricted double valueAsNumber; - // attribute double valueLow; - // attribute double valueHigh; - // attribute unsigned long width; + // attribute Date? valueAsDate; + // attribute unrestricted double valueAsNumber; + // attribute double valueLow; + // attribute double valueHigh; + // [CEReactions] + // attribute unsigned long width; //void stepUp(optional long n = 1); //void stepDown(optional long n = 1); diff --git a/components/script/dom/webidls/HTMLLIElement.webidl b/components/script/dom/webidls/HTMLLIElement.webidl index e3dd1eb2538..ab1edf8f074 100644 --- a/components/script/dom/webidls/HTMLLIElement.webidl +++ b/components/script/dom/webidls/HTMLLIElement.webidl @@ -5,6 +5,7 @@ // https://html.spec.whatwg.org/multipage/#htmllielement [HTMLConstructor] interface HTMLLIElement : HTMLElement { + [CEReactions] attribute long value; // also has obsolete members @@ -12,5 +13,6 @@ interface HTMLLIElement : HTMLElement { // https://html.spec.whatwg.org/multipage/#HTMLLIElement-partial partial interface HTMLLIElement { + // [CEReactions] // attribute DOMString type; }; diff --git a/components/script/dom/webidls/HTMLLabelElement.webidl b/components/script/dom/webidls/HTMLLabelElement.webidl index 3c2acc33362..8ee07b4296c 100644 --- a/components/script/dom/webidls/HTMLLabelElement.webidl +++ b/components/script/dom/webidls/HTMLLabelElement.webidl @@ -6,6 +6,7 @@ [HTMLConstructor] interface HTMLLabelElement : HTMLElement { readonly attribute HTMLFormElement? form; + [CEReactions] attribute DOMString htmlFor; readonly attribute HTMLElement? control; }; diff --git a/components/script/dom/webidls/HTMLLegendElement.webidl b/components/script/dom/webidls/HTMLLegendElement.webidl index 2e50997d80e..7631230e431 100644 --- a/components/script/dom/webidls/HTMLLegendElement.webidl +++ b/components/script/dom/webidls/HTMLLegendElement.webidl @@ -12,5 +12,6 @@ interface HTMLLegendElement : HTMLElement { // https://html.spec.whatwg.org/multipage/#HTMLLegendElement-partial partial interface HTMLLegendElement { + // [CEReactions] // attribute DOMString align; }; diff --git a/components/script/dom/webidls/HTMLLinkElement.webidl b/components/script/dom/webidls/HTMLLinkElement.webidl index 2489c9e288f..970367d8bc1 100644 --- a/components/script/dom/webidls/HTMLLinkElement.webidl +++ b/components/script/dom/webidls/HTMLLinkElement.webidl @@ -5,13 +5,20 @@ // https://html.spec.whatwg.org/multipage/#htmllinkelement [HTMLConstructor] interface HTMLLinkElement : HTMLElement { + [CEReactions] attribute DOMString href; + [CEReactions] attribute DOMString? crossOrigin; + [CEReactions] attribute DOMString rel; readonly attribute DOMTokenList relList; + [CEReactions] attribute DOMString media; + [CEReactions] attribute DOMString hreflang; + [CEReactions] attribute DOMString type; + [CEReactions] attribute DOMString integrity; // [SameObject, PutForwards=value] readonly attribute DOMTokenList sizes; @@ -21,7 +28,10 @@ HTMLLinkElement implements LinkStyle; // https://html.spec.whatwg.org/multipage/#HTMLLinkElement-partial partial interface HTMLLinkElement { + [CEReactions] attribute DOMString charset; + [CEReactions] attribute DOMString rev; + [CEReactions] attribute DOMString target; }; diff --git a/components/script/dom/webidls/HTMLMapElement.webidl b/components/script/dom/webidls/HTMLMapElement.webidl index 60fa8928f18..ec5b0dd554a 100644 --- a/components/script/dom/webidls/HTMLMapElement.webidl +++ b/components/script/dom/webidls/HTMLMapElement.webidl @@ -5,7 +5,8 @@ // https://html.spec.whatwg.org/multipage/#htmlmapelement [HTMLConstructor] interface HTMLMapElement : HTMLElement { - // attribute DOMString name; - //readonly attribute HTMLCollection areas; - //readonly attribute HTMLCollection images; + // [CEReactions] + // attribute DOMString name; + // readonly attribute HTMLCollection areas; + // readonly attribute HTMLCollection images; }; diff --git a/components/script/dom/webidls/HTMLMediaElement.webidl b/components/script/dom/webidls/HTMLMediaElement.webidl index ce952c9b539..d7388f444f7 100644 --- a/components/script/dom/webidls/HTMLMediaElement.webidl +++ b/components/script/dom/webidls/HTMLMediaElement.webidl @@ -6,62 +6,68 @@ enum CanPlayTypeResult { "" /* empty string */, "maybe", "probably" }; [Abstract] interface HTMLMediaElement : HTMLElement { - // error state - readonly attribute MediaError? error; + readonly attribute MediaError? error; // network state - attribute DOMString src; - readonly attribute DOMString currentSrc; - // attribute DOMString crossOrigin; - const unsigned short NETWORK_EMPTY = 0; - const unsigned short NETWORK_IDLE = 1; - const unsigned short NETWORK_LOADING = 2; - const unsigned short NETWORK_NO_SOURCE = 3; - readonly attribute unsigned short networkState; - attribute DOMString preload; - //readonly attribute TimeRanges buffered; - void load(); - CanPlayTypeResult canPlayType(DOMString type); + [CEReactions] + attribute DOMString src; + readonly attribute DOMString currentSrc; + // [CEReactions] + // attribute DOMString crossOrigin; + const unsigned short NETWORK_EMPTY = 0; + const unsigned short NETWORK_IDLE = 1; + const unsigned short NETWORK_LOADING = 2; + const unsigned short NETWORK_NO_SOURCE = 3; + readonly attribute unsigned short networkState; + [CEReactions] + attribute DOMString preload; + // readonly attribute TimeRanges buffered; + void load(); + CanPlayTypeResult canPlayType(DOMString type); // ready state - const unsigned short HAVE_NOTHING = 0; - const unsigned short HAVE_METADATA = 1; - const unsigned short HAVE_CURRENT_DATA = 2; - const unsigned short HAVE_FUTURE_DATA = 3; - const unsigned short HAVE_ENOUGH_DATA = 4; - readonly attribute unsigned short readyState; - //readonly attribute boolean seeking; + const unsigned short HAVE_NOTHING = 0; + const unsigned short HAVE_METADATA = 1; + const unsigned short HAVE_CURRENT_DATA = 2; + const unsigned short HAVE_FUTURE_DATA = 3; + const unsigned short HAVE_ENOUGH_DATA = 4; + readonly attribute unsigned short readyState; + // readonly attribute boolean seeking; // playback state - // attribute double currentTime; - //void fastSeek(double time); - //readonly attribute unrestricted double duration; - //Date getStartDate(); - readonly attribute boolean paused; - // attribute double defaultPlaybackRate; - // attribute double playbackRate; - //readonly attribute TimeRanges played; - //readonly attribute TimeRanges seekable; - //readonly attribute boolean ended; - attribute boolean autoplay; - // attribute boolean loop; - void play(); - void pause(); + // attribute double currentTime; + // void fastSeek(double time); + // readonly attribute unrestricted double duration; + // Date getStartDate(); + readonly attribute boolean paused; + // attribute double defaultPlaybackRate; + // attribute double playbackRate; + // readonly attribute TimeRanges played; + // readonly attribute TimeRanges seekable; + // readonly attribute boolean ended; + [CEReactions] + attribute boolean autoplay; + // [CEReactions] + // attribute boolean loop; + void play(); + void pause(); // media controller - // attribute DOMString mediaGroup; - // attribute MediaController? controller; + // attribute DOMString mediaGroup; + // attribute MediaController? controller; // controls - // attribute boolean controls; - // attribute double volume; - // attribute boolean muted; - // attribute boolean defaultMuted; + // [CEReactions] + // attribute boolean controls; + // attribute double volume; + // attribute boolean muted; + // [CEReactions] + // attribute boolean defaultMuted; // tracks - //readonly attribute AudioTrackList audioTracks; - //readonly attribute VideoTrackList videoTracks; - //readonly attribute TextTrackList textTracks; - //TextTrack addTextTrack(TextTrackKind kind, optional DOMString label = "", optional DOMString language = ""); + // readonly attribute AudioTrackList audioTracks; + // readonly attribute VideoTrackList videoTracks; + // readonly attribute TextTrackList textTracks; + // TextTrack addTextTrack(TextTrackKind kind, optional DOMString label = "", optional DOMString language = ""); }; diff --git a/components/script/dom/webidls/HTMLMetaElement.webidl b/components/script/dom/webidls/HTMLMetaElement.webidl index 9680a38555a..2a4dd0f2eb9 100644 --- a/components/script/dom/webidls/HTMLMetaElement.webidl +++ b/components/script/dom/webidls/HTMLMetaElement.webidl @@ -5,8 +5,11 @@ // https://html.spec.whatwg.org/multipage/#htmlmetaelement [HTMLConstructor] interface HTMLMetaElement : HTMLElement { + [CEReactions] attribute DOMString name; + // [CEReactions] // attribute DOMString httpEquiv; + [CEReactions] attribute DOMString content; // also has obsolete members @@ -14,5 +17,6 @@ interface HTMLMetaElement : HTMLElement { // https://html.spec.whatwg.org/multipage/#HTMLMetaElement-partial partial interface HTMLMetaElement { + // [CEReactions] // attribute DOMString scheme; }; diff --git a/components/script/dom/webidls/HTMLMeterElement.webidl b/components/script/dom/webidls/HTMLMeterElement.webidl index 19e0aa1eabc..acefb7f7908 100644 --- a/components/script/dom/webidls/HTMLMeterElement.webidl +++ b/components/script/dom/webidls/HTMLMeterElement.webidl @@ -5,11 +5,17 @@ // https://html.spec.whatwg.org/multipage/#htmlmeterelement [HTMLConstructor] interface HTMLMeterElement : HTMLElement { + // [CEReactions] // attribute double value; + // [CEReactions] // attribute double min; + // [CEReactions] // attribute double max; + // [CEReactions] // attribute double low; + // [CEReactions] // attribute double high; + // [CEReactions] // attribute double optimum; readonly attribute NodeList labels; }; diff --git a/components/script/dom/webidls/HTMLModElement.webidl b/components/script/dom/webidls/HTMLModElement.webidl index 05998bcaa46..b2504c490f5 100644 --- a/components/script/dom/webidls/HTMLModElement.webidl +++ b/components/script/dom/webidls/HTMLModElement.webidl @@ -5,6 +5,8 @@ // https://html.spec.whatwg.org/multipage/#htmlmodelement [HTMLConstructor] interface HTMLModElement : HTMLElement { + // [CEReactions] // attribute DOMString cite; + // [CEReactions] // attribute DOMString dateTime; }; diff --git a/components/script/dom/webidls/HTMLOListElement.webidl b/components/script/dom/webidls/HTMLOListElement.webidl index f6f32653564..b56ac4096ff 100644 --- a/components/script/dom/webidls/HTMLOListElement.webidl +++ b/components/script/dom/webidls/HTMLOListElement.webidl @@ -5,8 +5,11 @@ // https://html.spec.whatwg.org/multipage/#htmlolistelement [HTMLConstructor] interface HTMLOListElement : HTMLElement { + // [CEReactions] // attribute boolean reversed; + // [CEReactions] // attribute long start; + // [CEReactions] // attribute DOMString type; // also has obsolete members @@ -14,5 +17,6 @@ interface HTMLOListElement : HTMLElement { // https://html.spec.whatwg.org/multipage/#HTMLOListElement-partial partial interface HTMLOListElement { + // [CEReactions] // attribute boolean compact; }; diff --git a/components/script/dom/webidls/HTMLObjectElement.webidl b/components/script/dom/webidls/HTMLObjectElement.webidl index dc730a33f11..e7b5035cb06 100644 --- a/components/script/dom/webidls/HTMLObjectElement.webidl +++ b/components/script/dom/webidls/HTMLObjectElement.webidl @@ -5,13 +5,20 @@ // https://html.spec.whatwg.org/multipage/#htmlobjectelement [HTMLConstructor] interface HTMLObjectElement : HTMLElement { + // [CEReactions] // attribute DOMString data; + [CEReactions] attribute DOMString type; + // [CEReactions] // attribute boolean typeMustMatch; + // [CEReactions] // attribute DOMString name; + // [CEReactions] // attribute DOMString useMap; readonly attribute HTMLFormElement? form; + // [CEReactions] // attribute DOMString width; + // [CEReactions] // attribute DOMString height; //readonly attribute Document? contentDocument; //readonly attribute WindowProxy? contentWindow; diff --git a/components/script/dom/webidls/HTMLOptGroupElement.webidl b/components/script/dom/webidls/HTMLOptGroupElement.webidl index 07de66913da..a04aa54b169 100644 --- a/components/script/dom/webidls/HTMLOptGroupElement.webidl +++ b/components/script/dom/webidls/HTMLOptGroupElement.webidl @@ -5,6 +5,8 @@ // https://html.spec.whatwg.org/multipage/#htmloptgroupelement [HTMLConstructor] interface HTMLOptGroupElement : HTMLElement { + [CEReactions] attribute boolean disabled; - // attribute DOMString label; + // [CEReactions] + // attribute DOMString label; }; diff --git a/components/script/dom/webidls/HTMLOptionElement.webidl b/components/script/dom/webidls/HTMLOptionElement.webidl index 7b83e59c5f2..a4181466093 100644 --- a/components/script/dom/webidls/HTMLOptionElement.webidl +++ b/components/script/dom/webidls/HTMLOptionElement.webidl @@ -7,13 +7,18 @@ optional boolean defaultSelected = false, optional boolean selected = false)*/] interface HTMLOptionElement : HTMLElement { - attribute boolean disabled; - readonly attribute HTMLFormElement? form; - attribute DOMString label; - attribute boolean defaultSelected; - attribute boolean selected; - attribute DOMString value; + [CEReactions] + attribute boolean disabled; + readonly attribute HTMLFormElement? form; + [CEReactions] + attribute DOMString label; + [CEReactions] + attribute boolean defaultSelected; + attribute boolean selected; + [CEReactions] + attribute DOMString value; - attribute DOMString text; - //readonly attribute long index; + [CEReactions] + attribute DOMString text; + // readonly attribute long index; }; diff --git a/components/script/dom/webidls/HTMLOptionsCollection.webidl b/components/script/dom/webidls/HTMLOptionsCollection.webidl index 73b11779159..831846e935c 100644 --- a/components/script/dom/webidls/HTMLOptionsCollection.webidl +++ b/components/script/dom/webidls/HTMLOptionsCollection.webidl @@ -5,14 +5,13 @@ // https://html.spec.whatwg.org/multipage/#htmloptionscollection interface HTMLOptionsCollection : HTMLCollection { // inherits item(), namedItem() + [CEReactions] attribute unsigned long length; // shadows inherited length - //[CEReactions] - [Throws] + [CEReactions, Throws] setter void (unsigned long index, HTMLOptionElement? option); - //[CEReactions] - [Throws] + [CEReactions, Throws] void add((HTMLOptionElement or HTMLOptGroupElement) element, optional (HTMLElement or long)? before = null); - //[CEReactions] + [CEReactions] void remove(long index); attribute long selectedIndex; }; diff --git a/components/script/dom/webidls/HTMLOutputElement.webidl b/components/script/dom/webidls/HTMLOutputElement.webidl index 6b9439588e6..9f48aeeb49a 100644 --- a/components/script/dom/webidls/HTMLOutputElement.webidl +++ b/components/script/dom/webidls/HTMLOutputElement.webidl @@ -7,18 +7,21 @@ interface HTMLOutputElement : HTMLElement { // [SameObject, PutForwards=value] readonly attribute DOMTokenList htmlFor; readonly attribute HTMLFormElement? form; - // attribute DOMString name; + // [CEReactions] + // attribute DOMString name; - //readonly attribute DOMString type; - // attribute DOMString defaultValue; - // attribute DOMString value; + // readonly attribute DOMString type; + // [CEReactions] + // attribute DOMString defaultValue; + // [CEReactions] + // attribute DOMString value; - //readonly attribute boolean willValidate; + // readonly attribute boolean willValidate; readonly attribute ValidityState validity; - //readonly attribute DOMString validationMessage; - //boolean checkValidity(); - //boolean reportValidity(); - //void setCustomValidity(DOMString error); + // readonly attribute DOMString validationMessage; + // boolean checkValidity(); + // boolean reportValidity(); + // void setCustomValidity(DOMString error); readonly attribute NodeList labels; }; diff --git a/components/script/dom/webidls/HTMLParagraphElement.webidl b/components/script/dom/webidls/HTMLParagraphElement.webidl index a32f8941a64..fd16ab49df0 100644 --- a/components/script/dom/webidls/HTMLParagraphElement.webidl +++ b/components/script/dom/webidls/HTMLParagraphElement.webidl @@ -10,5 +10,6 @@ interface HTMLParagraphElement : HTMLElement { // https://html.spec.whatwg.org/multipage/#HTMLParagraphElement-partial partial interface HTMLParagraphElement { + // [CEReactions] // attribute DOMString align; }; diff --git a/components/script/dom/webidls/HTMLParamElement.webidl b/components/script/dom/webidls/HTMLParamElement.webidl index de853cfbd2b..61d339b50ff 100644 --- a/components/script/dom/webidls/HTMLParamElement.webidl +++ b/components/script/dom/webidls/HTMLParamElement.webidl @@ -5,7 +5,9 @@ // https://html.spec.whatwg.org/multipage/#htmlparamelement [HTMLConstructor] interface HTMLParamElement : HTMLElement { + // [CEReactions] // attribute DOMString name; + // [CEReactions] // attribute DOMString value; // also has obsolete members @@ -13,6 +15,8 @@ interface HTMLParamElement : HTMLElement { // https://html.spec.whatwg.org/multipage/#HTMLParamElement-partial partial interface HTMLParamElement { + // [CEReactions] // attribute DOMString type; + // [CEReactions] // attribute DOMString valueType; }; diff --git a/components/script/dom/webidls/HTMLPreElement.webidl b/components/script/dom/webidls/HTMLPreElement.webidl index 0f53a4f6ad9..83b3f6988d8 100644 --- a/components/script/dom/webidls/HTMLPreElement.webidl +++ b/components/script/dom/webidls/HTMLPreElement.webidl @@ -10,5 +10,6 @@ interface HTMLPreElement : HTMLElement { // https://html.spec.whatwg.org/multipage/#HTMLPreElement-partial partial interface HTMLPreElement { + // [CEReactions] // attribute long width; }; diff --git a/components/script/dom/webidls/HTMLProgressElement.webidl b/components/script/dom/webidls/HTMLProgressElement.webidl index 8aea37f8dd6..30fb689ef5d 100644 --- a/components/script/dom/webidls/HTMLProgressElement.webidl +++ b/components/script/dom/webidls/HTMLProgressElement.webidl @@ -5,8 +5,10 @@ // https://html.spec.whatwg.org/multipage/#htmlprogresselement [HTMLConstructor] interface HTMLProgressElement : HTMLElement { - // attribute double value; - // attribute double max; - //readonly attribute double position; + // [CEReactions] + // attribute double value; + // [CEReactions] + // attribute double max; + // readonly attribute double position; readonly attribute NodeList labels; }; diff --git a/components/script/dom/webidls/HTMLQuoteElement.webidl b/components/script/dom/webidls/HTMLQuoteElement.webidl index 78bf941b9d3..cda0b23ab92 100644 --- a/components/script/dom/webidls/HTMLQuoteElement.webidl +++ b/components/script/dom/webidls/HTMLQuoteElement.webidl @@ -5,5 +5,6 @@ // https://html.spec.whatwg.org/multipage/#htmlquoteelement [HTMLConstructor] interface HTMLQuoteElement : HTMLElement { - // attribute DOMString cite; + // [CEReactions] + // attribute DOMString cite; }; diff --git a/components/script/dom/webidls/HTMLScriptElement.webidl b/components/script/dom/webidls/HTMLScriptElement.webidl index f2f40c67607..9ee90d1af03 100644 --- a/components/script/dom/webidls/HTMLScriptElement.webidl +++ b/components/script/dom/webidls/HTMLScriptElement.webidl @@ -5,14 +5,21 @@ // https://html.spec.whatwg.org/multipage/#htmlscriptelement [HTMLConstructor] interface HTMLScriptElement : HTMLElement { + [CEReactions] attribute DOMString src; + [CEReactions] attribute DOMString type; + [CEReactions] attribute DOMString charset; + [CEReactions] attribute boolean async; + [CEReactions] attribute boolean defer; + [CEReactions] attribute DOMString? crossOrigin; - [Pure] + [CEReactions, Pure] attribute DOMString text; + [CEReactions] attribute DOMString integrity; // also has obsolete members @@ -20,6 +27,8 @@ interface HTMLScriptElement : HTMLElement { // https://html.spec.whatwg.org/multipage/#HTMLScriptElement-partial partial interface HTMLScriptElement { + [CEReactions] attribute DOMString event; + [CEReactions] attribute DOMString htmlFor; }; diff --git a/components/script/dom/webidls/HTMLSelectElement.webidl b/components/script/dom/webidls/HTMLSelectElement.webidl index b8e581abe0e..763a96b77ba 100644 --- a/components/script/dom/webidls/HTMLSelectElement.webidl +++ b/components/script/dom/webidls/HTMLSelectElement.webidl @@ -5,36 +5,47 @@ // https://html.spec.whatwg.org/multipage/#htmlselectelement [HTMLConstructor] interface HTMLSelectElement : HTMLElement { - // attribute boolean autofocus; + // [CEReactions] + // attribute boolean autofocus; + [CEReactions] attribute boolean disabled; readonly attribute HTMLFormElement? form; + [CEReactions] attribute boolean multiple; + [CEReactions] attribute DOMString name; - // attribute boolean required; + // [CEReactions] + // attribute boolean required; + [CEReactions] attribute unsigned long size; readonly attribute DOMString type; readonly attribute HTMLOptionsCollection options; + [CEReactions] attribute unsigned long length; getter Element? item(unsigned long index); HTMLOptionElement? namedItem(DOMString name); // Note: this function currently only exists for union.html. + [CEReactions] void add((HTMLOptionElement or HTMLOptGroupElement) element, optional (HTMLElement or long)? before = null); + [CEReactions] void remove(); // ChildNode overload + [CEReactions] void remove(long index); - //setter void (unsigned long index, HTMLOptionElement? option); + // [CEReactions] + // setter void (unsigned long index, HTMLOptionElement? option); - //readonly attribute HTMLCollection selectedOptions; + // readonly attribute HTMLCollection selectedOptions; attribute long selectedIndex; attribute DOMString value; - //readonly attribute boolean willValidate; + // readonly attribute boolean willValidate; readonly attribute ValidityState validity; - //readonly attribute DOMString validationMessage; - //boolean checkValidity(); - //boolean reportValidity(); - //void setCustomValidity(DOMString error); + // readonly attribute DOMString validationMessage; + // boolean checkValidity(); + // boolean reportValidity(); + // void setCustomValidity(DOMString error); readonly attribute NodeList labels; }; diff --git a/components/script/dom/webidls/HTMLSourceElement.webidl b/components/script/dom/webidls/HTMLSourceElement.webidl index c0508bf34e7..b62c3def6f8 100644 --- a/components/script/dom/webidls/HTMLSourceElement.webidl +++ b/components/script/dom/webidls/HTMLSourceElement.webidl @@ -5,6 +5,8 @@ // https://html.spec.whatwg.org/multipage/#htmlsourceelement [HTMLConstructor] interface HTMLSourceElement : HTMLElement { + // [CEReactions] // attribute DOMString src; + // [CEReactions] // attribute DOMString type; }; diff --git a/components/script/dom/webidls/HTMLStyleElement.webidl b/components/script/dom/webidls/HTMLStyleElement.webidl index 203f306f0f6..69404c1e89f 100644 --- a/components/script/dom/webidls/HTMLStyleElement.webidl +++ b/components/script/dom/webidls/HTMLStyleElement.webidl @@ -5,8 +5,11 @@ // https://html.spec.whatwg.org/multipage/#htmlstyleelement [HTMLConstructor] interface HTMLStyleElement : HTMLElement { - // attribute DOMString media; - // attribute DOMString type; - // attribute boolean scoped; + // [CEReactions] + // attribute DOMString media; + // [CEReactions] + // attribute DOMString type; + // [CEReactions] + // attribute boolean scoped; }; HTMLStyleElement implements LinkStyle; diff --git a/components/script/dom/webidls/HTMLTableCaptionElement.webidl b/components/script/dom/webidls/HTMLTableCaptionElement.webidl index c855bfee3ae..2d4d81cda15 100644 --- a/components/script/dom/webidls/HTMLTableCaptionElement.webidl +++ b/components/script/dom/webidls/HTMLTableCaptionElement.webidl @@ -10,5 +10,6 @@ interface HTMLTableCaptionElement : HTMLElement { // https://html.spec.whatwg.org/multipage/#HTMLTableCaptionElement-partial partial interface HTMLTableCaptionElement { - // attribute DOMString align; + // [CEReactions] + // attribute DOMString align; }; diff --git a/components/script/dom/webidls/HTMLTableCellElement.webidl b/components/script/dom/webidls/HTMLTableCellElement.webidl index aa11dabc25d..bdba9955fcc 100644 --- a/components/script/dom/webidls/HTMLTableCellElement.webidl +++ b/components/script/dom/webidls/HTMLTableCellElement.webidl @@ -5,9 +5,12 @@ // https://html.spec.whatwg.org/multipage/#htmltablecellelement [HTMLConstructor, Abstract] interface HTMLTableCellElement : HTMLElement { - attribute unsigned long colSpan; - attribute unsigned long rowSpan; - // attribute DOMString headers; + [CEReactions] + attribute unsigned long colSpan; + [CEReactions] + attribute unsigned long rowSpan; + // [CEReactions] + // attribute DOMString headers; readonly attribute long cellIndex; // also has obsolete members @@ -15,15 +18,23 @@ interface HTMLTableCellElement : HTMLElement { // https://html.spec.whatwg.org/multipage/#HTMLTableCellElement-partial partial interface HTMLTableCellElement { - // attribute DOMString align; - // attribute DOMString axis; - // attribute DOMString height; + // [CEReactions] + // attribute DOMString align; + // [CEReactions] + // attribute DOMString axis; + // [CEReactions] + // attribute DOMString height; + [CEReactions] attribute DOMString width; - // attribute DOMString ch; - // attribute DOMString chOff; - // attribute boolean noWrap; - // attribute DOMString vAlign; + // attribute DOMString ch; + // [CEReactions] + // attribute DOMString chOff; + // [CEReactions] + // attribute boolean noWrap; + // [CEReactions] + // attribute DOMString vAlign; - [TreatNullAs=EmptyString] attribute DOMString bgColor; + [CEReactions, TreatNullAs=EmptyString] + attribute DOMString bgColor; }; diff --git a/components/script/dom/webidls/HTMLTableColElement.webidl b/components/script/dom/webidls/HTMLTableColElement.webidl index df43d4e0591..05c846165ff 100644 --- a/components/script/dom/webidls/HTMLTableColElement.webidl +++ b/components/script/dom/webidls/HTMLTableColElement.webidl @@ -5,16 +5,22 @@ // https://html.spec.whatwg.org/multipage/#htmltablecolelement [HTMLConstructor] interface HTMLTableColElement : HTMLElement { - // attribute unsigned long span; + // [CEReactions] + // attribute unsigned long span; // also has obsolete members }; // https://html.spec.whatwg.org/multipage/#HTMLTableColElement-partial partial interface HTMLTableColElement { - // attribute DOMString align; - // attribute DOMString ch; - // attribute DOMString chOff; - // attribute DOMString vAlign; - // attribute DOMString width; + // [CEReactions] + // attribute DOMString align; + // [CEReactions] + // attribute DOMString ch; + // [CEReactions] + // attribute DOMString chOff; + // [CEReactions] + // attribute DOMString vAlign; + // [CEReactions] + // attribute DOMString width; }; diff --git a/components/script/dom/webidls/HTMLTableDataCellElement.webidl b/components/script/dom/webidls/HTMLTableDataCellElement.webidl index 26cadf779e8..3f86ab749f4 100644 --- a/components/script/dom/webidls/HTMLTableDataCellElement.webidl +++ b/components/script/dom/webidls/HTMLTableDataCellElement.webidl @@ -10,5 +10,6 @@ interface HTMLTableDataCellElement : HTMLTableCellElement { // https://html.spec.whatwg.org/multipage/#HTMLTableDataCellElement-partial partial interface HTMLTableDataCellElement { + // [CEReactions] // attribute DOMString abbr; }; diff --git a/components/script/dom/webidls/HTMLTableElement.webidl b/components/script/dom/webidls/HTMLTableElement.webidl index 822b6846f44..2ed7bbfdcce 100644 --- a/components/script/dom/webidls/HTMLTableElement.webidl +++ b/components/script/dom/webidls/HTMLTableElement.webidl @@ -5,36 +5,53 @@ // https://html.spec.whatwg.org/multipage/#htmltableelement [HTMLConstructor] interface HTMLTableElement : HTMLElement { + [CEReactions] attribute HTMLTableCaptionElement? caption; HTMLTableCaptionElement createCaption(); + [CEReactions] void deleteCaption(); - [SetterThrows] + + [CEReactions, SetterThrows] attribute HTMLTableSectionElement? tHead; HTMLTableSectionElement createTHead(); + [CEReactions] void deleteTHead(); - [SetterThrows] + + [CEReactions, SetterThrows] attribute HTMLTableSectionElement? tFoot; HTMLTableSectionElement createTFoot(); + [CEReactions] void deleteTFoot(); + readonly attribute HTMLCollection tBodies; HTMLTableSectionElement createTBody(); + readonly attribute HTMLCollection rows; [Throws] HTMLTableRowElement insertRow(optional long index = -1); - [Throws] void deleteRow(long index); + [CEReactions, Throws] void deleteRow(long index); // also has obsolete members }; // https://html.spec.whatwg.org/multipage/#HTMLTableElement-partial partial interface HTMLTableElement { - // attribute DOMString align; - // attribute DOMString border; - // attribute DOMString frame; - // attribute DOMString rules; - // attribute DOMString summary; + // [CEReactions] + // attribute DOMString align; + // [CEReactions] + // attribute DOMString border; + // [CEReactions] + // attribute DOMString frame; + // [CEReactions] + // attribute DOMString rules; + // [CEReactions] + // attribute DOMString summary; + [CEReactions] attribute DOMString width; - [TreatNullAs=EmptyString] attribute DOMString bgColor; - //[TreatNullAs=EmptyString] attribute DOMString cellPadding; - //[TreatNullAs=EmptyString] attribute DOMString cellSpacing; + [CEReactions, TreatNullAs=EmptyString] + attribute DOMString bgColor; + // [CEReactions, TreatNullAs=EmptyString] + // attribute DOMString cellPadding; + // [CEReactions, TreatNullAs=EmptyString] + // attribute DOMString cellSpacing; }; diff --git a/components/script/dom/webidls/HTMLTableHeaderCellElement.webidl b/components/script/dom/webidls/HTMLTableHeaderCellElement.webidl index b9185c93149..c4df47d7e09 100644 --- a/components/script/dom/webidls/HTMLTableHeaderCellElement.webidl +++ b/components/script/dom/webidls/HTMLTableHeaderCellElement.webidl @@ -5,8 +5,11 @@ // https://html.spec.whatwg.org/multipage/#htmltableheadercellelement [HTMLConstructor] interface HTMLTableHeaderCellElement : HTMLTableCellElement { + // [CEReactions] // attribute DOMString scope; + // [CEReactions] // attribute DOMString abbr; + // [CEReactions] // attribute DOMString sorted; - //void sort(); + // void sort(); }; diff --git a/components/script/dom/webidls/HTMLTableRowElement.webidl b/components/script/dom/webidls/HTMLTableRowElement.webidl index ce26a8c24d5..8257f42c32d 100644 --- a/components/script/dom/webidls/HTMLTableRowElement.webidl +++ b/components/script/dom/webidls/HTMLTableRowElement.webidl @@ -10,7 +10,7 @@ interface HTMLTableRowElement : HTMLElement { readonly attribute HTMLCollection cells; [Throws] HTMLElement insertCell(optional long index = -1); - [Throws] + [CEReactions, Throws] void deleteCell(long index); // also has obsolete members @@ -18,10 +18,15 @@ interface HTMLTableRowElement : HTMLElement { // https://html.spec.whatwg.org/multipage/#HTMLTableRowElement-partial partial interface HTMLTableRowElement { - // attribute DOMString align; - // attribute DOMString ch; - // attribute DOMString chOff; - // attribute DOMString vAlign; + // [CEReactions] + // attribute DOMString align; + // [CEReactions] + // attribute DOMString ch; + // [CEReactions] + // attribute DOMString chOff; + // [CEReactions] + // attribute DOMString vAlign; - [TreatNullAs=EmptyString] attribute DOMString bgColor; + [CEReactions, TreatNullAs=EmptyString] + attribute DOMString bgColor; }; diff --git a/components/script/dom/webidls/HTMLTableSectionElement.webidl b/components/script/dom/webidls/HTMLTableSectionElement.webidl index a1bf758c407..16d8ce39a0b 100644 --- a/components/script/dom/webidls/HTMLTableSectionElement.webidl +++ b/components/script/dom/webidls/HTMLTableSectionElement.webidl @@ -8,7 +8,7 @@ interface HTMLTableSectionElement : HTMLElement { readonly attribute HTMLCollection rows; [Throws] HTMLElement insertRow(optional long index = -1); - [Throws] + [CEReactions, Throws] void deleteRow(long index); // also has obsolete members @@ -16,8 +16,12 @@ interface HTMLTableSectionElement : HTMLElement { // https://html.spec.whatwg.org/multipage/#HTMLTableSectionElement-partial partial interface HTMLTableSectionElement { - // attribute DOMString align; - // attribute DOMString ch; - // attribute DOMString chOff; - // attribute DOMString vAlign; + // [CEReactions] + // attribute DOMString align; + // [CEReactions] + // attribute DOMString ch; + // [CEReactions] + // attribute DOMString chOff; + // [CEReactions] + // attribute DOMString vAlign; }; diff --git a/components/script/dom/webidls/HTMLTextAreaElement.webidl b/components/script/dom/webidls/HTMLTextAreaElement.webidl index 8f93a83cbd6..2e2e1288559 100644 --- a/components/script/dom/webidls/HTMLTextAreaElement.webidl +++ b/components/script/dom/webidls/HTMLTextAreaElement.webidl @@ -5,44 +5,57 @@ // https://html.spec.whatwg.org/multipage/#htmltextareaelement [HTMLConstructor] interface HTMLTextAreaElement : HTMLElement { - // attribute DOMString autocomplete; - // attribute boolean autofocus; - [SetterThrows] - attribute unsigned long cols; - // attribute DOMString dirName; + // [CEReactions] + // attribute DOMString autocomplete; + // [CEReactions] + // attribute boolean autofocus; + [CEReactions, SetterThrows] + attribute unsigned long cols; + // [CEReactions] + // attribute DOMString dirName; + [CEReactions] attribute boolean disabled; readonly attribute HTMLFormElement? form; - // attribute DOMString inputMode; - // attribute long maxLength; - // attribute long minLength; + // [CEReactions] + // attribute DOMString inputMode; + // [CEReactions] + // attribute long maxLength; + // [CEReactions] + // attribute long minLength; attribute DOMString name; + [CEReactions] attribute DOMString placeholder; + [CEReactions] attribute boolean readOnly; + [CEReactions] attribute boolean required; - [SetterThrows] + [CEReactions, SetterThrows] attribute unsigned long rows; + [CEReactions] attribute DOMString wrap; readonly attribute DOMString type; + [CEReactions] attribute DOMString defaultValue; - [TreatNullAs=EmptyString] attribute DOMString value; - //readonly attribute unsigned long textLength; + [CEReactions,TreatNullAs=EmptyString] + attribute DOMString value; + // readonly attribute unsigned long textLength; - //readonly attribute boolean willValidate; - //readonly attribute ValidityState validity; - //readonly attribute DOMString validationMessage; - //boolean checkValidity(); - //boolean reportValidity(); - //void setCustomValidity(DOMString error); + // readonly attribute boolean willValidate; + // readonly attribute ValidityState validity; + // readonly attribute DOMString validationMessage; + // boolean checkValidity(); + // boolean reportValidity(); + // void setCustomValidity(DOMString error); readonly attribute NodeList labels; - //void select(); + // void select(); attribute unsigned long selectionStart; attribute unsigned long selectionEnd; attribute DOMString selectionDirection; - //void setRangeText(DOMString replacement); - //void setRangeText(DOMString replacement, unsigned long start, unsigned long end, - // optional SelectionMode selectionMode = "preserve"); + // void setRangeText(DOMString replacement); + // void setRangeText(DOMString replacement, unsigned long start, unsigned long end, + // optional SelectionMode selectionMode = "preserve"); void setSelectionRange(unsigned long start, unsigned long end, optional DOMString direction); }; diff --git a/components/script/dom/webidls/HTMLTimeElement.webidl b/components/script/dom/webidls/HTMLTimeElement.webidl index c6b770afe09..5af8ab0b2af 100644 --- a/components/script/dom/webidls/HTMLTimeElement.webidl +++ b/components/script/dom/webidls/HTMLTimeElement.webidl @@ -5,5 +5,6 @@ // https://html.spec.whatwg.org/multipage/#htmltimeelement [HTMLConstructor] interface HTMLTimeElement : HTMLElement { + [CEReactions] attribute DOMString dateTime; }; diff --git a/components/script/dom/webidls/HTMLTitleElement.webidl b/components/script/dom/webidls/HTMLTitleElement.webidl index 5650a35fccc..84313013883 100644 --- a/components/script/dom/webidls/HTMLTitleElement.webidl +++ b/components/script/dom/webidls/HTMLTitleElement.webidl @@ -5,6 +5,6 @@ // https://html.spec.whatwg.org/multipage/#htmltitleelement [HTMLConstructor] interface HTMLTitleElement : HTMLElement { - [Pure] - attribute DOMString text; + [CEReactions, Pure] + attribute DOMString text; }; diff --git a/components/script/dom/webidls/HTMLTrackElement.webidl b/components/script/dom/webidls/HTMLTrackElement.webidl index 0692a484fb7..c6260e0e0e2 100644 --- a/components/script/dom/webidls/HTMLTrackElement.webidl +++ b/components/script/dom/webidls/HTMLTrackElement.webidl @@ -5,17 +5,22 @@ // https://html.spec.whatwg.org/multipage/#htmltrackelement [HTMLConstructor] interface HTMLTrackElement : HTMLElement { - // attribute DOMString kind; - // attribute DOMString src; - // attribute DOMString srclang; - // attribute DOMString label; - // attribute boolean default; + // [CEReactions] + // attribute DOMString kind; + // [CEReactions] + // attribute DOMString src; + // [CEReactions] + // attribute DOMString srclang; + // [CEReactions] + // attribute DOMString label; + // [CEReactions] + // attribute boolean default; - //const unsigned short NONE = 0; - //const unsigned short LOADING = 1; - //const unsigned short LOADED = 2; - //const unsigned short ERROR = 3; - //readonly attribute unsigned short readyState; + // const unsigned short NONE = 0; + // const unsigned short LOADING = 1; + // const unsigned short LOADED = 2; + // const unsigned short ERROR = 3; + // readonly attribute unsigned short readyState; - //readonly attribute TextTrack track; + // readonly attribute TextTrack track; }; diff --git a/components/script/dom/webidls/HTMLUListElement.webidl b/components/script/dom/webidls/HTMLUListElement.webidl index 4756da8a2c6..f58069717ec 100644 --- a/components/script/dom/webidls/HTMLUListElement.webidl +++ b/components/script/dom/webidls/HTMLUListElement.webidl @@ -10,6 +10,8 @@ interface HTMLUListElement : HTMLElement { // https://html.spec.whatwg.org/multipage/#HTMLUListElement-partial partial interface HTMLUListElement { - // attribute boolean compact; - // attribute DOMString type; + // [CEReactions] + // attribute boolean compact; + // [CEReactions] + // attribute DOMString type; }; diff --git a/components/script/dom/webidls/HTMLVideoElement.webidl b/components/script/dom/webidls/HTMLVideoElement.webidl index 835000c98c5..bfd1be006ea 100644 --- a/components/script/dom/webidls/HTMLVideoElement.webidl +++ b/components/script/dom/webidls/HTMLVideoElement.webidl @@ -5,9 +5,12 @@ // https://html.spec.whatwg.org/multipage/#htmlvideoelement [HTMLConstructor] interface HTMLVideoElement : HTMLMediaElement { - // attribute unsigned long width; - // attribute unsigned long height; - //readonly attribute unsigned long videoWidth; - //readonly attribute unsigned long videoHeight; - // attribute DOMString poster; + // [CEReactions] + // attribute unsigned long width; + // [CEReactions] + // attribute unsigned long height; + // readonly attribute unsigned long videoWidth; + // readonly attribute unsigned long videoHeight; + // [CEReactions] + // attribute DOMString poster; }; diff --git a/components/script/dom/webidls/NamedNodeMap.webidl b/components/script/dom/webidls/NamedNodeMap.webidl index 66156943b08..be07919822e 100644 --- a/components/script/dom/webidls/NamedNodeMap.webidl +++ b/components/script/dom/webidls/NamedNodeMap.webidl @@ -14,12 +14,12 @@ interface NamedNodeMap { getter Attr? getNamedItem(DOMString qualifiedName); [Pure] Attr? getNamedItemNS(DOMString? namespace, DOMString localName); - [Throws] + [CEReactions, Throws] Attr? setNamedItem(Attr attr); - [Throws] + [CEReactions, Throws] Attr? setNamedItemNS(Attr attr); - [Throws] + [CEReactions, Throws] Attr removeNamedItem(DOMString qualifiedName); - [Throws] + [CEReactions, Throws] Attr removeNamedItemNS(DOMString? namespace, DOMString localName); }; diff --git a/components/script/dom/webidls/Node.webidl b/components/script/dom/webidls/Node.webidl index 6108de01d90..c05bf869630 100644 --- a/components/script/dom/webidls/Node.webidl +++ b/components/script/dom/webidls/Node.webidl @@ -51,12 +51,14 @@ interface Node : EventTarget { [Pure] readonly attribute Node? nextSibling; - [Pure] + [CEReactions, Pure] attribute DOMString? nodeValue; - [Pure] + [CEReactions, Pure] attribute DOMString? textContent; + [CEReactions] void normalize(); + [CEReactions] Node cloneNode(optional boolean deep = false); [Pure] boolean isEqualNode(Node? node); @@ -81,12 +83,12 @@ interface Node : EventTarget { [Pure] boolean isDefaultNamespace(DOMString? namespace); - [Throws] + [CEReactions, Throws] Node insertBefore(Node node, Node? child); - [Throws] + [CEReactions, Throws] Node appendChild(Node node); - [Throws] + [CEReactions, Throws] Node replaceChild(Node node, Node child); - [Throws] + [CEReactions, Throws] Node removeChild(Node child); }; diff --git a/components/script/dom/webidls/ParentNode.webidl b/components/script/dom/webidls/ParentNode.webidl index 84da03e3643..b7757d15aee 100644 --- a/components/script/dom/webidls/ParentNode.webidl +++ b/components/script/dom/webidls/ParentNode.webidl @@ -17,9 +17,9 @@ interface ParentNode { [Pure] readonly attribute unsigned long childElementCount; - [Throws, Unscopable] + [CEReactions, Throws, Unscopable] void prepend((Node or DOMString)... nodes); - [Throws, Unscopable] + [CEReactions, Throws, Unscopable] void append((Node or DOMString)... nodes); [Pure, Throws] diff --git a/components/script/dom/webidls/Range.webidl b/components/script/dom/webidls/Range.webidl index 1daf2d8182f..3d23e5cd74e 100644 --- a/components/script/dom/webidls/Range.webidl +++ b/components/script/dom/webidls/Range.webidl @@ -47,15 +47,15 @@ interface Range { const unsigned short END_TO_START = 3; [Pure, Throws] short compareBoundaryPoints(unsigned short how, Range sourceRange); - [Throws] + [CEReactions, Throws] void deleteContents(); - [NewObject, Throws] + [CEReactions, NewObject, Throws] DocumentFragment extractContents(); - [NewObject, Throws] + [CEReactions, NewObject, Throws] DocumentFragment cloneContents(); - [Throws] + [CEReactions, Throws] void insertNode(Node node); - [Throws] + [CEReactions, Throws] void surroundContents(Node newParent); [NewObject] @@ -76,7 +76,7 @@ interface Range { // https://dvcs.w3.org/hg/innerhtml/raw-file/tip/index.html#extensions-to-the-range-interface partial interface Range { - [NewObject, Throws] + [CEReactions, NewObject, Throws] DocumentFragment createContextualFragment(DOMString fragment); }; |