Skip to content

Commit a47c484

Browse files
committed
make NAMESPACE_RULE 10
1 parent fe2400b commit a47c484

2 files changed

Lines changed: 14 additions & 9 deletions

File tree

cssom/Overview.html

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1610,7 +1610,10 @@ <h4 id=the-linkstyle-interface><span class=secno>6.3.1. </span>The <code
16101610
href="#style-sheet-owner-node">style sheet owner node</a> implements the
16111611
<code><a href="#linkstyle">LinkStyle</a></code> interface.
16121612

1613-
<pre class=idl>interface <dfn id=linkstyle>LinkStyle</dfn> {
1613+
<p class=XXX>Also [Supplemental]?
1614+
1615+
<pre
1616+
class=idl>[NoInterfaceObject] interface <dfn id=linkstyle>LinkStyle</dfn> {
16141617
readonly attribute <a href="#stylesheet">StyleSheet</a> <a href="#linkstyle-sheet" title=linkstyle-sheet>sheet</a>;
16151618
};</pre>
16161619

@@ -1960,7 +1963,7 @@ <h4 id=the-cssrule-interface><span class=secno>6.4.2. </span>The <code
19601963
const unsigned short <a href="#dom-cssrule-media_rule" title="dom-CSSRule-MEDIA_RULE">MEDIA_RULE</a> = 4;
19611964
const unsigned short <a href="#dom-cssrule-font_face_rule" title="dom-CSSRule-FONT_FACE_RULE">FONT_FACE_RULE</a> = 5;
19621965
const unsigned short <a href="#dom-cssrule-page_rule" title="dom-CSSRule-PAGE_RULE">PAGE_RULE</a> = 6;
1963-
const unsigned short <a href="#dom-cssrule-namespace_rule" title="dom-CSSRule-NAMESPACE_RULE">NAMESPACE_RULE</a> = 8;
1966+
const unsigned short <a href="#dom-cssrule-namespace_rule" title="dom-CSSRule-NAMESPACE_RULE">NAMESPACE_RULE</a> = 10;
19641967
readonly attribute unsigned short <a href="#dom-cssrule-type" title=dom-CSSRule-type>type</a>;
19651968

19661969
// Parsing and serialization
@@ -2010,15 +2013,15 @@ <h4 id=the-cssrule-interface><span class=secno>6.4.2. </span>The <code
20102013

20112014
<dt><dfn id="dom-cssrule-namespace_rule"
20122015
title="dom-CSSRule-NAMESPACE_RULE"><code>NAMESPACE_RULE</code></dfn>
2013-
(numeric value 8)
2016+
(numeric value 10)
20142017

20152018
<dd>The object is a <code><a
20162019
href="#cssnamespacerule">CSSNamespaceRule</a></code>.
20172020
</dl>
20182021

20192022
<p class=note>Constants with values 0 and 2 have been obsoleted by this
20202023
specification. They might be re-allocated in the future. 7 is reserved for
2021-
<code>@color-profile</code>.
2024+
<code>@color-profile</code>. 8 and 9 are reserved for CSS animation.
20222025

20232026
<p>The <dfn id=dom-cssrule-csstext
20242027
title=dom-CSSRule-cssText><code>cssText</code></dfn> attribute, on

cssom/Overview.src.html

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1297,7 +1297,9 @@ <h4>The <code title="">LinkStyle</code> Interface</h4>
12971297
<span>style sheet owner node</span>
12981298
implements the <code>LinkStyle</code> interface.</p>
12991299

1300-
<pre class="idl">interface <dfn>LinkStyle</dfn> {
1300+
<p class="XXX">Also [Supplemental]?</p>
1301+
1302+
<pre class="idl">[NoInterfaceObject] interface <dfn>LinkStyle</dfn> {
13011303
readonly attribute <span>StyleSheet</span> <span title="linkstyle-sheet">sheet</span>;
13021304
};</pre>
13031305

@@ -1337,7 +1339,7 @@ <h4>Requirements on specifications</h4>
13371339

13381340
<h4>Requirements on User Agents Implementing the
13391341
<span title=""><code>xml-stylesheet</code> processing instruction</span></h4>
1340-
1342+
13411343
<!-- XXX ref, one day -->
13421344

13431345
<!-- XXX load/error events, reparse -->
@@ -1590,7 +1592,7 @@ <h4>The <code title="">CSSRule</code> Interface</h4>
15901592
const unsigned short <span title="dom-CSSRule-MEDIA_RULE">MEDIA_RULE</span> = 4;
15911593
const unsigned short <span title="dom-CSSRule-FONT_FACE_RULE">FONT_FACE_RULE</span> = 5;
15921594
const unsigned short <span title="dom-CSSRule-PAGE_RULE">PAGE_RULE</span> = 6;
1593-
const unsigned short <span title="dom-CSSRule-NAMESPACE_RULE">NAMESPACE_RULE</span> = 8;
1595+
const unsigned short <span title="dom-CSSRule-NAMESPACE_RULE">NAMESPACE_RULE</span> = 10;
15941596
readonly attribute unsigned short <span title="dom-CSSRule-type">type</span>;
15951597

15961598
// Parsing and serialization
@@ -1618,13 +1620,13 @@ <h4>The <code title="">CSSRule</code> Interface</h4>
16181620
<dd>The object is a <code>CSSFontFaceRule</code>.</dd>
16191621
<dt><dfn id="dom-cssrule-page_rule" title="dom-CSSRule-PAGE_RULE"><code>PAGE_RULE</code></dfn> (numeric value 6)</dt>
16201622
<dd>The object is a <code>CSSPageRule</code>.</dd>
1621-
<dt><dfn id="dom-cssrule-namespace_rule" title="dom-CSSRule-NAMESPACE_RULE"><code>NAMESPACE_RULE</code></dfn> (numeric value 8)</dt>
1623+
<dt><dfn id="dom-cssrule-namespace_rule" title="dom-CSSRule-NAMESPACE_RULE"><code>NAMESPACE_RULE</code></dfn> (numeric value 10)</dt>
16221624
<dd>The object is a <code>CSSNamespaceRule</code>.</dd>
16231625
</dl>
16241626

16251627
<p class="note">Constants with values 0 and 2 have been obsoleted by this
16261628
specification. They might be re-allocated in the future. 7 is reserved for
1627-
<code>@color-profile</code>.</p>
1629+
<code>@color-profile</code>. 8 and 9 are reserved for CSS animation.</p>
16281630

16291631

16301632
<p>The

0 commit comments

Comments
 (0)