diff --git a/Libraries/LibWeb/CSS/CSSNumericArray.idl b/Libraries/LibWeb/CSS/CSSNumericArray.idl index 5ceaff4d6e4..9e75d076ad8 100644 --- a/Libraries/LibWeb/CSS/CSSNumericArray.idl +++ b/Libraries/LibWeb/CSS/CSSNumericArray.idl @@ -3,9 +3,7 @@ // https://drafts.css-houdini.org/css-typed-om-1/#cssnumericarray [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] interface CSSNumericArray { + iterable; readonly attribute unsigned long length; getter CSSNumericValue (unsigned long index); - - // FIXME: Different order than the spec, because IDLParser requires that this comes after the indexed property getter. - iterable; }; diff --git a/Libraries/LibWeb/CSS/CSSUnparsedValue.idl b/Libraries/LibWeb/CSS/CSSUnparsedValue.idl index 825c67a489c..da82e519fcd 100644 --- a/Libraries/LibWeb/CSS/CSSUnparsedValue.idl +++ b/Libraries/LibWeb/CSS/CSSUnparsedValue.idl @@ -5,11 +5,10 @@ [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] interface CSSUnparsedValue : CSSStyleValue { constructor(sequence members); + iterable; readonly attribute unsigned long length; getter CSSUnparsedSegment (unsigned long index); setter undefined (unsigned long index, CSSUnparsedSegment val); - // FIXME: Different order from the spec, because our IDL parser needs the indexed getter to be defined already. - iterable; }; // https://drafts.css-houdini.org/css-typed-om-1/#typedefdef-cssunparsedsegment