You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in the <ahref="#collection-of-media-queries">collection of media queries</a> represented by the collection. If there are no such media queries, then there are no
<p>When the <dfnid="dom-medialist" title="dom-MediaList"><code>MediaList(<vartitle="">text</var>)</code></dfn> constructor is invoked, run these steps:</p>
572
+
<p>When the <dfnid="dom-medialist" title="dom-MediaList"><code>MediaList(<vartitle="">text</var>)</code></dfn> constructor is invoked, these steps must be run:</p>
573
573
<ol>
574
574
<li><p>Create a new <code><ahref="#medialist">MediaList</a></code> object.</li>
575
575
<li><p>Set its <codetitle="dom-MediaList-mediaText"><ahref="#dom-medialist-mediatext">mediaText</a></code> attribute to <vartitle="">text</var>.</li>
576
576
<li><p>Return the newly created <code><ahref="#medialist">MediaList</a></code> object.</li>
577
577
</ol>
578
578
579
-
<p>The <dfnid="dom-medialist-mediatext" title="dom-MediaList-mediaText"><code>mediaText</code></dfn> attribute must return a <ahref="#serialize-a-media-query-list" title="serialize a media query list">serialization</a>
579
+
<p>The <dfnid="dom-medialist-mediatext" title="dom-MediaList-mediaText"><code>mediaText</code></dfn> attribute, on getting, must return a <ahref="#serialize-a-media-query-list" title="serialize a media query list">serialization</a>
580
580
of the <ahref="#collection-of-media-queries">collection of media queries</a>.</p>
581
581
<p>Setting the <codetitle="dom-MediaList-mediaText"><ahref="#dom-medialist-mediatext">mediaText</a></code> attribute must run these steps:
<pclass="XXX">Need to define a setter that implements the semantics of setting this attribute to a string representing a MediaList.</p>
960
960
961
961
<p>The <dfnid="dom-stylesheet-disabled" title="dom-StyleSheet-disabled"><code>disabled</code></dfn> attribute, on getting, must return true if the <ahref="#style-sheet-disabled-flag">style sheet disabled flag</a>
962
-
is set, or false otherwise. On setting, it must set the <ahref="#style-sheet-disabled-flag">style sheet disabled flag</a>
962
+
is set, or false otherwise. On setting, the <codetitle="dom-StyleSheet-disabled"><ahref="#dom-stylesheet-disabled">disabled</a></code> attribute must set the <ahref="#style-sheet-disabled-flag">style sheet disabled flag</a>
963
963
if the new value is true, or unset the <ahref="#style-sheet-disabled-flag">style sheet disabled flag</a> otherwise.</p>
<pclass="note">Because of historical IDL limitations the <codetitle="dom-Document-styleSheets"><ahref="#dom-document-stylesheets">styleSheets</a></code> attribute
1237
1237
used to be on a separate interface, <code>DocumentStyle</code>.</p>
1238
1238
1239
-
<p>The <dfnid="dom-document-selectedstylesheetset" title="dom-Document-selectedStyleSheetSet"><code>selectedStyleSheetSet</code></dfn> attribute must, on getting, must run these steps:</p>
1239
+
<p>The <dfnid="dom-document-selectedstylesheetset" title="dom-Document-selectedStyleSheetSet"><code>selectedStyleSheetSet</code></dfn> attribute, on getting, must run these steps:</p>
1240
1240
<ol>
1241
1241
<li><p>If there is a single <ahref="#enabled-style-sheet-set">enabled style sheet set</a> and no
1242
1242
other <ahref="#document-style-sheets">document style sheets</a> with a non-empty
@@ -1886,26 +1886,27 @@ <h4 id="the-cssstylerule-interface"><span class="secno">6.4.3 </span>The <code t
<p>The <dfnid="dom-csscharsetrule-encoding" title="dom-CSSCharsetRule-encoding"><code>encoding</code></dfn> must return the encoding information specified by the <code>@charset</code> rule.</p>
1895
+
<p>The <dfnid="dom-csscharsetrule-encoding" title="dom-CSSCharsetRule-encoding"><code>encoding</code></dfn> attribute must return the encoding information specified by the <code>@charset</code>
<p>The <dfnid="dom-cssimportrule-href" title="dom-CSSImportRule-href"><code>href</code></dfn> attribute must return the <aclass="external" href="http://url.spec.whatwg.org/#concept-url" title="concept-url">URL</a> specified by the <code>@import</code> rule.</p>
1909
+
<p>The <dfnid="dom-cssimportrule-href" title="dom-CSSImportRule-href"><code>href</code></dfn> attribute must return the <aclass="external" href="http://url.spec.whatwg.org/#concept-url" title="concept-url">URL</a> specified by the <code>@import</code>at-rule.</p>
1909
1910
<pclass="note">To get the resolved <aclass="external" href="http://url.spec.whatwg.org/#concept-url" title="concept-url">URL</a> use the <codetitle="dom-StyleSheet-href"><ahref="#dom-stylesheet-href">href</a></code>
1910
1911
attribute of the associated <span>style sheet</span>.</p>
<p>The <dfnid="dom-cssimportrule-stylesheet" title="dom-CSSImportRule-styleSheet"><code>styleSheet</code></dfn> attribute must return the associated <span>style sheet</span>.</p>
1916
1917
<pclass="note">If loading of the style sheet fails its <codetitle="dom-CSSStyleSheet-cssRules"><ahref="#dom-cssstylesheet-cssrules">cssRules</a></code>
1917
-
list is simply empty, i.e., an <code>@import</code> rule always has an associated <span>style sheet</span>.</p>
1918
+
list is simply empty, i.e., an <code>@import</code>at-rule always has an associated <span>style sheet</span>.</p>
@@ -1929,10 +1930,10 @@ <h4 id="the-cssmediarule-interface"><span class="secno">6.4.6 </span>The <code t
1929
1930
};</pre>
1930
1931
1931
1932
<p>The <dfnid="dom-cssmediarule-media" title="dom-CSSMediaRule-media"><code>media</code></dfn> attribute must return a <code><ahref="#medialist">MediaList</a></code> object for the list of media queries specified
1932
-
with the <code>@media</code> rule.</p>
1933
+
with the <code>@media</code>at-rule.</p>
1933
1934
1934
1935
<p>The <dfnid="dom-cssmediarule-cssrules" title="dom-CSSMediaRule-cssRules"><code>cssRules</code></dfn> attribute must return a <code><ahref="#cssrulelist">CSSRuleList</a></code> object for the list of CSS rules specified
1935
-
with the <code>@media</code> rule.</p>
1936
+
with the <code>@media</code>at-rule.</p>
1936
1937
1937
1938
<p>The <dfnid="dom-cssmediarule-insertrule" title="dom-CSSMediaRule-insertRule"><code>insertRule(<vartitle="">rule</var>, <vartitle="">index</var>)</code></dfn> method must <ahref="#insert-a-css-rule">insert a CSS rule</a><vartitle="">rule</var> into the CSS rule list
1938
1939
returned by <codetitle="dom-CSSMediaRule-cssRules"><ahref="#dom-cssmediarule-cssrules">cssRules</a></code> at <vartitle="">index</var>.</p>
@@ -1943,19 +1944,19 @@ <h4 id="the-cssmediarule-interface"><span class="secno">6.4.6 </span>The <code t
<p>The <dfnid="dom-cssfontfacerule-style" title="dom-CSSFontFaceRule-style"><code>style</code></dfn> attribute must return a <code><ahref="#cssstyledeclaration">CSSStyleDeclaration</a></code> block that contains the property
1953
-
declarations specified within the <code>@font-face</code> rule.</p>
1954
+
declarations specified within the <code>@font-face</code>at-rule.</p>
<p>The <code><ahref="#csspagerule">CSSPageRule</a></code> interface represents a <code>@page</code> rule.</p>
1959
+
<p>The <code><ahref="#csspagerule">CSSPageRule</a></code> interface represents a <code>@page</code>at-rule.</p>
1959
1960
<pclass="note">Need to define the rules for
1960
1961
<dfnid="parse-a-css-page-selector">parse a CSS page selector</dfn> and
1961
1962
<dfnid="serialize-a-css-page-selector">serialize a CSS page selector</dfn>.</p>
@@ -1974,20 +1975,22 @@ <h4 id="the-csspagerule-interface"><span class="secno">6.4.8 </span>The <code ti
1974
1975
<li><p>Otherwise, if the algorithm returns a null value, do nothing.</li>
1975
1976
</ol>
1976
1977
1977
-
<p>The <dfnid="dom-csspagerule-style" title="dom-CSSPageRule-style"><code>style</code></dfn> attribute must return a <code><ahref="#cssstyledeclaration">CSSStyleDeclaration</a></code> for the <code>@page</code> rule.</p>
1978
+
<p>The <dfnid="dom-csspagerule-style" title="dom-CSSPageRule-style"><code>style</code></dfn> attribute must return a <code><ahref="#cssstyledeclaration">CSSStyleDeclaration</a></code> for the <code>@page</code>at-rule.</p>
<p>The <dfnid="dom-cssnamespacerule-namespaceuri" title="dom-CSSNamespaceRule-namespaceURI"><code>namespaceURI</code></dfn> attribute, on getting, must return the namespace of the
1990
-
<code>@namespace</code> rule. On setting, the <codetitle="dom-CSSNamespaceRule-namespaceURI"><ahref="#dom-cssnamespacerule-namespaceuri">namespaceURI</a></code> attribute must run the following steps:</p>
1991
+
<code>@namespace</code> at-rule.
1992
+
1993
+
<p>On setting, the <codetitle="dom-CSSNamespaceRule-namespaceURI"><ahref="#dom-cssnamespacerule-namespaceuri">namespaceURI</a></code> attribute must run the following steps:</p>
1991
1994
1992
1995
<ol>
1993
1996
<li><p>Let <vartitle="">style sheet</var> be the value returned by <codetitle="dom-CSSRule-parentStyleSheet"><ahref="#dom-cssrule-parentstylesheet">parentStyleSheet</a></code>.
<li><p>Set the namespace of the <codetitle="">@namespace</code> at-rule to the given value.
2000
2003
</ol>
2001
2004
2002
-
<p>The <dfnid="dom-cssnamespacerule-prefix" title="dom-CSSNamespaceRule-prefix"><code>prefix</code></dfn> attribute must return the prefix of the <code>@namespace</code> rule or the
2003
-
empty string if there is no prefix. On setting, the <codetitle="dom-CSSNamespaceRule-prefix"><ahref="#dom-cssnamespacerule-prefix">prefix</a></code> attribute must run the following steps:</p>
2005
+
<p>The <dfnid="dom-cssnamespacerule-prefix" title="dom-CSSNamespaceRule-prefix"><code>prefix</code></dfn> attribute must return the prefix of the <code>@namespace</code> at-rule or the
2006
+
empty string if there is no prefix.
2007
+
2008
+
<p>On setting, the <codetitle="dom-CSSNamespaceRule-prefix"><ahref="#dom-cssnamespacerule-prefix">prefix</a></code> attribute must run the following steps:</p>
2004
2009
2005
2010
<ol>
2006
2011
<li><p>Let <vartitle="">style sheet</var> be the value returned by <codetitle="dom-CSSRule-parentStyleSheet"><ahref="#dom-cssrule-parentstylesheet">parentStyleSheet</a></code>.
<p>The <dfnid="dom-element-pseudo" title="dom-Element-pseudo"><code>pseudo</code></dfn>attribute must run the following steps:
2687
+
<p>The <dfnid="dom-element-pseudo" title="dom-Element-pseudo"><code>pseudo(<vartitle="">pseudoElt</var>)</code></dfn>method, when invoked, must run the following steps:
2683
2688
<ol>
2684
2689
<li><p>If <vartitle="">pseudoElt</var> is as an <aclass="external" href="http://dom.spec.whatwg.org/#ascii-case-insensitive">ASCII case-insensitive</a> match for either '<code>:before</code>' or
2685
2690
'<code>::before</code>' return the <code><ahref="#pseudoelement">PseudoElement</a></code> representing the '::before' pseudo-element of the <aclass="external" href="http://dom.spec.whatwg.org/#context-object">context
0 commit comments