Skip to content

Commit b05eb1b

Browse files
committed
[cssom] Remove [LegacyArrayClass] from CSSOM interfaces.
Blink and WebKit don't really support it in these interfaces either, and I'm removing the remaining usage in Gecko for MediaList and updating tests in https://bugzil.la/1456256. Fixes w3c#2601
1 parent 5e88643 commit b05eb1b

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

cssom-1/Overview.bs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -503,8 +503,7 @@ The {{MediaList}} Interface {#the-medialist-interface}
503503
An object that implements the <code>MediaList</code> interface has an associated <dfn export for=MediaList>collection of media queries</dfn>.
504504

505505
<pre class=idl>
506-
[Exposed=Window,
507-
LegacyArrayClass]
506+
[Exposed=Window]
508507
interface MediaList {
509508
stringifier attribute [TreatNullAs=EmptyString] CSSOMString mediaText;
510509
readonly attribute unsigned long length;
@@ -1122,8 +1121,7 @@ value of the header.
11221121
The {{StyleSheetList}} interface represents an ordered collection of <a>CSS style sheets</a>.
11231122

11241123
<pre class=idl>
1125-
[Exposed=Window,
1126-
LegacyArrayClass]
1124+
[Exposed=Window]
11271125
interface StyleSheetList {
11281126
getter StyleSheet? item(unsigned long index);
11291127
readonly attribute unsigned long length;
@@ -1639,8 +1637,7 @@ To <dfn export>remove a CSS rule</dfn> from a CSS rule list <var>list</var> at i
16391637
The {{CSSRuleList}} interface represents an ordered collection of CSS style rules.
16401638

16411639
<pre class=idl>
1642-
[Exposed=Window,
1643-
LegacyArrayClass]
1640+
[Exposed=Window]
16441641
interface CSSRuleList {
16451642
getter CSSRule? item(unsigned long index);
16461643
readonly attribute unsigned long length;

0 commit comments

Comments
 (0)