@@ -501,7 +501,8 @@ The {{MediaList}} Interface {#the-medialist-interface}
501501An object that implements the <code> MediaList</code> interface has an associated <dfn export for=MediaList>collection of media queries</dfn> .
502502
503503<pre class=idl>
504- [LegacyArrayClass]
504+ [Exposed=Window,
505+ LegacyArrayClass]
505506interface MediaList {
506507 stringifier attribute [TreatNullAs=EmptyString] CSSOMString mediaText;
507508 readonly attribute unsigned long length;
@@ -856,6 +857,7 @@ represents a style sheet as defined by the CSS specification. In the CSSOM a
856857The {{StyleSheet}} interface represents an abstract, base style sheet.
857858
858859<pre class=idl>
860+ [Exposed=Window]
859861interface StyleSheet {
860862 readonly attribute CSSOMString type;
861863 readonly attribute USVString? href;
@@ -893,6 +895,7 @@ is set, or false otherwise. On setting, the {{StyleSheet/disabled}} attribute mu
893895The {{CSSStyleSheet}} interface represents a <a>CSS style sheet</a> .
894896
895897<pre class=idl>
898+ [Exposed=Window]
896899interface CSSStyleSheet : StyleSheet {
897900 readonly attribute CSSRule? ownerRule;
898901 [SameObject] readonly attribute CSSRuleList cssRules;
@@ -1118,7 +1121,8 @@ value of the header.
11181121The {{StyleSheetList}} interface represents an ordered collection of <a>CSS style sheets</a> .
11191122
11201123<pre class=idl>
1121- [LegacyArrayClass]
1124+ [Exposed=Window,
1125+ LegacyArrayClass]
11221126interface StyleSheetList {
11231127 getter StyleSheet? item(unsigned long index);
11241128 readonly attribute unsigned long length;
@@ -1197,7 +1201,8 @@ The <dfn>associated CSS style sheet</dfn> of a node is the <a>CSS style sheet</a
11971201interface.
11981202
11991203<pre class=idl>
1200- [NoInterfaceObject]
1204+ [Exposed=Window,
1205+ NoInterfaceObject]
12011206interface LinkStyle {
12021207 readonly attribute StyleSheet? sheet;
12031208};
@@ -1635,7 +1640,8 @@ To <dfn export>remove a CSS rule</dfn> from a CSS rule list <var>list</var> at i
16351640The {{CSSRuleList}} interface represents an ordered collection of CSS style rules.
16361641
16371642<pre class=idl>
1638- [LegacyArrayClass]
1643+ [Exposed=Window,
1644+ LegacyArrayClass]
16391645interface CSSRuleList {
16401646 getter CSSRule? item(unsigned long index);
16411647 readonly attribute unsigned long length;
@@ -1659,6 +1665,7 @@ distinct CSS style rule type is represented by a distinct interface that
16591665inherits from this interface.
16601666
16611667<pre class=idl>
1668+ [Exposed=Window]
16621669interface CSSRule {
16631670 const unsigned short STYLE_RULE = 1;
16641671 const unsigned short CHARSET_RULE = 2; // historical
@@ -1724,6 +1731,7 @@ unreachable.
17241731The <code> CSSStyleRule</code> interface represents a style rule.
17251732
17261733<pre class=idl>
1734+ [Exposed=Window]
17271735interface CSSStyleRule : CSSRule {
17281736 attribute CSSOMString selectorText;
17291737 [SameObject, PutForwards=cssText] readonly attribute CSSStyleDeclaration style;
@@ -1762,6 +1770,7 @@ one with greatest cascading order must be represented, at the same relative posi
17621770The <code> CSSImportRule</code> interface represents an <code> @import</code> at-rule.
17631771
17641772<pre class=idl>
1773+ [Exposed=Window]
17651774interface CSSImportRule : CSSRule {
17661775 readonly attribute USVString href;
17671776 [SameObject, PutForwards=mediaText] readonly attribute MediaList media;
@@ -1789,6 +1798,7 @@ list is simply empty, i.e., an <code>@import</code> at-rule always has an associ
17891798The <code> CSSGroupingRule</code> interface represents an at-rule that contains other rules nested inside itself.
17901799
17911800<pre class=idl>
1801+ [Exposed=Window]
17921802interface CSSGroupingRule : CSSRule {
17931803 [SameObject] readonly attribute CSSRuleList cssRules;
17941804 unsigned long insertRule(CSSOMString rule, optional unsigned long index = 0);
@@ -1822,6 +1832,7 @@ Issue: Need to define the rules for
18221832<dfn>serialize a list of CSS page selectors</dfn> .
18231833
18241834<pre class=idl>
1835+ [Exposed=Window]
18251836interface CSSPageRule : CSSGroupingRule {
18261837 attribute CSSOMString selectorText;
18271838 [SameObject, PutForwards=cssText] readonly attribute CSSStyleDeclaration style;
@@ -1857,6 +1868,7 @@ The <code>CSSMarginRule</code> interface represents a margin at-rule (e.g. <code
18571868[[!CSS3PAGE]]
18581869
18591870<pre class=idl>
1871+ [Exposed=Window]
18601872interface CSSMarginRule : CSSRule {
18611873 readonly attribute CSSOMString name;
18621874 [SameObject, PutForwards=cssText] readonly attribute CSSStyleDeclaration style;
@@ -1885,6 +1897,7 @@ margin at-rule, with the following properties:
18851897The <code> CSSNamespaceRule</code> interface represents an <code> @namespace</code> at-rule.
18861898
18871899<pre class=idl>
1900+ [Exposed=Window]
18881901interface CSSNamespaceRule : CSSRule {
18891902 readonly attribute CSSOMString namespaceURI;
18901903 readonly attribute CSSOMString prefix;
@@ -2037,6 +2050,7 @@ The <code>CSSStyleDeclaration</code> interface represents a <a>CSS declaration b
20372050underlying state depends upon the source of the <code> CSSStyleDeclaration</Code> instance.
20382051
20392052<pre class=idl>
2053+ [Exposed=Window]
20402054interface CSSStyleDeclaration {
20412055 [CEReactions] attribute CSSOMString cssText;
20422056 readonly attribute unsigned long length;
@@ -2657,7 +2671,8 @@ The {{ElementCSSInlineStyle}} Interface {#the-elementcssinlinestyle-interface}
26572671The <code> ElementCSSInlineStyle</code> interface provides access to inline style properties of an element.
26582672
26592673<pre class=idl>
2660- [NoInterfaceObject]
2674+ [Exposed=Window,
2675+ NoInterfaceObject]
26612676interface ElementCSSInlineStyle {
26622677 [SameObject, PutForwards=cssText] readonly attribute CSSStyleDeclaration style;
26632678};
@@ -2756,6 +2771,7 @@ The <code>CSS.escape()</code> Method {#the-css.escape()-method}
27562771The <code> CSS</code> interface holds useful CSS-related functions that do not belong elsewhere.
27572772
27582773<pre class=idl>
2774+ [Exposed=Window]
27592775interface CSS {
27602776 static CSSOMString escape(CSSOMString ident);
27612777};
0 commit comments