Skip to content

Commit 6bdb2e3

Browse files
author
Simon Pieters
committed
[cssom] Editorial: typo
1 parent 2282086 commit 6bdb2e3

2 files changed

Lines changed: 12 additions & 10 deletions

File tree

cssom/Overview.html

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1064,7 +1064,8 @@ <h3 id="css-style-sheet-collections"><span class="secno">6.2 </span>CSS Style Sh
10641064
<ol>
10651065
<li><p>Remove the <a href="#css-style-sheet">CSS style sheet</a> from the list of <a href="#document-css-style-sheets">document CSS style sheets</a>.
10661066

1067-
<li><p>Set the <a href="#css-style-sheet">CSS style sheet</a>'s <a href="#concept-css-style-sheet-owner-node" title="concept-css-style-sheet-owner-node">owner node</a> to null.
1067+
<li><p>Set the <a href="#css-style-sheet">CSS style sheet</a>'s <a href="#concept-css-style-sheet-parent-css-style-sheet" title="concept-css-style-sheet-parent-css-style-sheet">parent CSS style sheet</a>,
1068+
<a href="#concept-css-style-sheet-owner-node" title="concept-css-style-sheet-owner-node">owner node</a> and <a href="#concept-css-style-sheet-owner-css-rule" title="concept-css-style-sheet-owner-css-rule">owner CSS rule</a> to null.
10681069

10691070
<!-- "associated CSS style sheet" is defined in terms of owner node, so we don't need to set it to null explicitly -->
10701071

@@ -1698,24 +1699,23 @@ <h3 id="css-rules"><span class="secno">6.4 </span>CSS Rules</h3>
16981699
<dl>
16991700
<dt><dfn id="concept-css-rule-type" title="concept-css-rule-type">type</dfn></dt>
17001701
<dd><p>A non-negative integer associated with a particular type of rule.
1701-
This item is initialized when a rule is created and must never change.</dd>
1702+
This item is initialized when a rule is created and cannot change.</dd>
17021703

17031704
<dt><dfn id="concept-css-rule-text" title="concept-css-rule-text">text</dfn></dt>
17041705
<dd><p>A text representation of the rule suitable for direct use in a style sheet.
1705-
This item is initialized when a rule is created, and may change over the lifetime of the rule.</dd>
1706+
This item is initialized when a rule is created and can be changed.</dd>
17061707

17071708
<dt><dfn id="concept-css-rule-parent-css-rule" title="concept-css-rule-parent-css-rule">parent CSS rule</dfn></dt>
17081709
<dd><p>A reference to an enclosing <a href="#css-rule">CSS rule</a> or null.
1709-
If the rule has an enclosing rule when it is created, then this item is initialized to the enclosing rule; otherwise it is null.
1710-
Subsequent to initialization, this item is reset to null if the rule becomes non-enclosed. Once reset to null, it must never change.</dd>
1710+
If the rule has an enclosing rule when it is created, then this item is initialized to the enclosing rule; otherwise it is null. It can be changed to
1711+
null.</dd>
17111712

17121713
<dt><dfn id="concept-css-rule-parent-css-style-sheet" title="concept-css-rule-parent-css-style-sheet">parent CSS style sheet</dfn></dt>
17131714
<dd><p>A reference to a parent <a href="#css-style-sheet">CSS style sheet</a> or null.
1714-
This item is initialized to reference an associated style sheet when the rule is created. Subsequent to initialization, this item
1715-
is reset to null if the rule becomes disassociated from its initial style sheet. Once reset to null, it must never change.</dd>
1715+
This item is initialized to reference an associated style sheet when the rule is created. It can be changed to null.</dd>
17161716

17171717
<dt><dfn id="concept-css-rule-child-css-rules" title="concept-css-rule-child-css-rules">child CSS rules</dfn>
1718-
<dd><p>A list of child <a href="#css-rule" title="CSS rule">CSS rules</a>.
1718+
<dd><p>A list of child <a href="#css-rule" title="CSS rule">CSS rules</a>. The list can be mutated.
17191719
</dl>
17201720

17211721
<p>In addition to the above state, each <a href="#css-rule">CSS rule</a> may be associated
@@ -1822,6 +1822,8 @@ <h3 id="css-rules"><span class="secno">6.4 </span>CSS Rules</h3>
18221822
<code title="">@charset</code> at-rules, <code title="">@import</code> at-rules, and <code title="">@namespace</code> at-rules,
18231823
<a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#concept-throw" title="concept-throw">throw</a> an <code class="external" data-anolis-spec="dom"><a href="http://dom.spec.whatwg.org/#invalidstateerror">InvalidStateError</a></code> exception.
18241824
<li><p>Remove rule <var>old rule</var> from <var>list</var> at the zero-indexed position <var>index</var>.<p></li>
1825+
<li><p>Set <var>old rule</var>'s <a href="#concept-css-rule-parent-css-rule" title="concept-css-rule-parent-css-rule">parent CSS rule</a> and
1826+
<a href="#concept-css-rule-parent-css-style-sheet" title="concept-css-rule-parent-css-style-sheet">parent CSS style sheet</a> to null.
18251827
</ol>
18261828

18271829

@@ -2032,7 +2034,7 @@ <h4 id="the-cssfontfacerule-interface"><span class="secno">6.4.7 </span>The <cod
20322034
<h4 id="the-csspagerule-interface"><span class="secno">6.4.8 </span>The <code title="">CSSPageRule</code> Interface</h4>
20332035

20342036
<p>The <code><a href="#csspagerule">CSSPageRule</a></code> interface represents an <code title="">@page</code> at-rule.</p>
2035-
<p class="XXX">Need to define the rules for
2037+
<p class="issue">Need to define the rules for
20362038
<dfn id="parse-a-list-of-css-page-selectors">parse a list of CSS page selectors</dfn> and
20372039
<dfn id="serialize-a-list-of-css-page-selectors">serialize a list of CSS page selectors</dfn>.</p>
20382040

cssom/Overview.src.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1957,7 +1957,7 @@ <h4>The <code title>CSSFontFaceRule</code> Interface</h4>
19571957
<h4>The <code title>CSSPageRule</code> Interface</h4>
19581958

19591959
<p>The <code>CSSPageRule</code> interface represents an <code title>@page</code> at-rule.</p>
1960-
<p class='XXX'>Need to define the rules for
1960+
<p class="issue">Need to define the rules for
19611961
<dfn>parse a list of CSS page selectors</dfn> and
19621962
<dfn>serialize a list of CSS page selectors</dfn>.</p>
19631963

0 commit comments

Comments
 (0)