2929<!--end-logo-->
3030
3131
32- < h1 id =" cssom " > CSS Object Model (CSSOM)</ h1 >
32+ < h1 > CSS Object Model (CSSOM)</ h1 >
3333
3434
3535 < h2 class ="no-num no-toc " id ="w3c-doctype "> Editor's Draft 22 May 2013</ h2 >
@@ -77,7 +77,7 @@ <h2 class="no-num no-toc" id="abstract">Abstract</h2>
7777 for Media Queries, Selectors, and of course CSS itself.</ p >
7878
7979
80- < h2 class ="no-num no-toc " id ="sotd "> Status of this Document</ h2 >
80+ < h2 class ="no-num no-toc " id ="sotd "> Status of This Document</ h2 >
8181
8282 < p > This is a public copy of the editors' draft. It is provided for discussion only and may change at any moment.
8383 Its publication here does not imply endorsement of its contents by W3C or by the CSS Working Group. Don't cite
@@ -189,9 +189,9 @@ <h2 class="no-num no-toc" id="toc">Table of Contents</h2>
189189 < ol class ="toc ">
190190 < li > < a href ="#default-style "> < span class ="secno "> 9.1 </ span > < code > Default-Style</ code > </ a > </ ol > </ li >
191191 < li > < a class ="no-num " href ="#references "> References</ a > </ li >
192- < li > < a class ="no-num " href ="#changes "> Change History</ a >
192+ < li > < a class ="no-num " href ="#change-history "> Change History</ a >
193193 < ol class ="toc ">
194- < li > < a class ="no-num " href ="#changes-from-dom2 "> Changes From DOM-2 Style</ a > </ ol > </ li >
194+ < li > < a class ="no-num " href ="#changes-from-dom-2-style "> Changes From DOM-2 Style</ a > </ ol > </ li >
195195 < li > < a class ="no-num " href ="#acknowledgments "> Acknowledgments</ a > </ ol >
196196<!--end-toc-->
197197
@@ -776,7 +776,7 @@ <h3 id="serializing-selectors"><span class="secno">5.2 </span>Serializing Select
776776
777777 < li > < p > If < var > a</ var > is zero let the value be
778778 < var > b</ var >
779- < a href ="#serialize-a-css-value- component " title ="serialize a CSS component value "> serialized</ a > as <integer>.</ li >
779+ < a href ="#serialize-a-css-component-value " title ="serialize a CSS component value "> serialized</ a > as <integer>.</ li >
780780
781781 < li > < p > If < var > a</ var > is one or minus one and
782782 < var > b</ var > is zero let the value be
@@ -786,20 +786,20 @@ <h3 id="serializing-selectors"><span class="secno">5.2 </span>Serializing Select
786786 "< code > n</ code > " (U+006E), followed by
787787 "< code > +</ code > " (U+002B) if < var > b</ var > is positive,
788788 followed by < var > b</ var >
789- < a href ="#serialize-a-css-value- component " title ="serialize a CSS component value "> serialized</ a > as <integer>.</ li >
789+ < a href ="#serialize-a-css-component-value " title ="serialize a CSS component value "> serialized</ a > as <integer>.</ li >
790790
791791 < li > < p > If < var > b</ var > is zero let the value be
792792 < var > a</ var >
793- < a href ="#serialize-a-css-value- component " title ="serialize a CSS component value "> serialized</ a > as <integer>,
793+ < a href ="#serialize-a-css-component-value " title ="serialize a CSS component value "> serialized</ a > as <integer>,
794794 followed by "< code > n</ code > " (U+006E).</ li >
795795
796796 < li > < p > Otherwise let the value be
797797 < var > a</ var >
798- < a href ="#serialize-a-css-value- component " title ="serialize a CSS component value "> serialized</ a > as <integer>,
798+ < a href ="#serialize-a-css-component-value " title ="serialize a CSS component value "> serialized</ a > as <integer>,
799799 followed by "< code > n</ code > " (U+006E), followed by
800800 "< code > +</ code > " (U+002B) if < var > b</ var > is positive,
801801 followed by < var > b</ var >
802- < a href ="#serialize-a-css-value- component " title ="serialize a CSS component value "> serialized</ a > as <integer>.</ li >
802+ < a href ="#serialize-a-css-component-value " title ="serialize a CSS component value "> serialized</ a > as <integer>.</ li >
803803 </ ol >
804804 </ dd >
805805
@@ -844,7 +844,7 @@ <h3 id="css-style-sheets"><span class="secno">6.1 </span>CSS Style Sheets</h3>
844844 < code > null</ code > if there is no associated DOM node.</ dd >
845845
846846 < dt > < dfn id ="style-sheet-owner-css-rule "> style sheet owner CSS rule</ dfn > </ dt >
847- < dd > < p > The < a href ="#rule "> CSS rule</ a > in the < a href ="#style-sheet-parent "> style sheet parent</ a >
847+ < dd > < p > The < a href ="#css- rule "> CSS rule</ a > in the < a href ="#style-sheet-parent "> style sheet parent</ a >
848848 that caused the inclusion of the < span > style sheet</ span > or < code > null</ code > if
849849 there is no associated rule.</ dd >
850850
@@ -904,7 +904,7 @@ <h3 id="css-style-sheets"><span class="secno">6.1 </span>CSS Style Sheets</h3>
904904
905905
906906 < dt > < dfn id ="style-sheet-css-rules "> style sheet CSS rules</ dfn > </ dt >
907- < dd > < p > The < a href ="#rule " title ="CSS rule "> CSS rules</ a > associated with the
907+ < dd > < p > The < a href ="#css- rule " title ="CSS rule "> CSS rules</ a > associated with the
908908 < span > style sheet</ span > .</ dd >
909909 </ dl >
910910
@@ -1643,9 +1643,9 @@ <h4 id="requirements-on-user-agents-implementing-the-http-link-header"><span cla
16431643
16441644 < h3 id ="css-rules "> < span class ="secno "> 6.4 </ span > CSS Rules</ h3 >
16451645
1646- < p > A < dfn id ="rule "> CSS rule</ dfn > is an abstract concept that
1646+ < p > A < dfn id ="css- rule "> CSS rule</ dfn > is an abstract concept that
16471647 denotes a rule as defined by the CSS specification. A
1648- < a href ="#rule "> CSS rule</ a > is represented as an object that implements a subclass of
1648+ < a href ="#css- rule "> CSS rule</ a > is represented as an object that implements a subclass of
16491649 the < code > < a href ="#cssrule "> CSSRule</ a > </ code > interface, and which has the following
16501650 associated state items:</ p >
16511651
@@ -1659,17 +1659,17 @@ <h3 id="css-rules"><span class="secno">6.4 </span>CSS Rules</h3>
16591659 This item is initialized when a rule is created, and may change over the lifetime of the rule.</ dd >
16601660
16611661 < dt > < dfn id ="rule-parent "> rule parent</ dfn > </ dt >
1662- < dd > < p > An optional reference to another, enclosing < a href ="#rule "> CSS rule</ a > .
1662+ < dd > < p > An optional reference to another, enclosing < a href ="#css- rule "> CSS rule</ a > .
16631663 If the rule has an enclosing rule when it is created, then this item is initialized to the enclosing rule; otherwise it is < code > null</ code > .
16641664 Subsequent to initialization, this item is reset to < code > null</ code > if the rule becomes non-enclosed. Once reset to < code > null</ code > , it must never change.</ dd >
16651665
1666- < dt > < dfn id ="rule-style-sheet "> rule parent style sheet</ dfn > </ dt >
1666+ < dt > < dfn id ="rule-parent- style-sheet "> rule parent style sheet</ dfn > </ dt >
16671667 < dd > < p > An optional reference to an associated < a href ="#css-style-sheet "> CSS style sheet</ a > .
16681668 This item is initialized to reference an associated style sheet when the rule is created. Subsequent to initialization, this item
16691669 is reset to < code > null</ code > if the rule becomes disassociated from its initial style sheet. Once reset to < code > null</ code > , it must never change.</ dd >
16701670 </ dl >
16711671
1672- < p > In addition to the above state, each < a href ="#rule "> CSS rule</ a > may be associated
1672+ < p > In addition to the above state, each < a href ="#css- rule "> CSS rule</ a > may be associated
16731673 with other state in accordance with its < a href ="#rule-type "> rule type</ a > .</ p >
16741674
16751675 < p > To < dfn id ="parse-a-css-rule "> parse a CSS rule</ dfn > ...</ p >
@@ -1818,7 +1818,7 @@ <h4 id="the-cssrule-interface"><span class="secno">6.4.2 </span>The <code title=
18181818 on the < a href ="http://wiki.csswg.org/spec/cssom-constants "> CSSOM Constants</ a > wiki page.</ p >
18191819
18201820< p > The < dfn id ="dom-cssrule-csstext " title ="dom-CSSRule-cssText "> < code > cssText</ code > </ dfn > attribute must return a < a href ="#serialize-a-css-rule " title ="serialize a CSS rule "> serialization</ a > of the
1821- < a href ="#rule "> CSS rule</ a > .</ p >
1821+ < a href ="#css- rule "> CSS rule</ a > .</ p >
18221822< p > On setting the < code title ="dom-CSSRule-cssText "> < a href ="#dom-cssrule-csstext "> cssText</ a > </ code > attribute these steps must be run:</ p >
18231823< ol >
18241824 < li > < p > < a href ="#parse-a-css-rule " title ="Parse a CSS rule "> Parse</ a > the value.</ li >
@@ -2283,7 +2283,7 @@ <h4 id="serializing-css-values"><span class="secno">6.6.2 </span>Serializing CSS
22832283 these rules:</ p >
22842284
22852285 < ul >
2286- < li > < p > < a href ="#serialize-a-css-value- component " title ="Serialize a CSS component value "> Serialize</ a > any
2286+ < li > < p > < a href ="#serialize-a-css-component-value " title ="Serialize a CSS component value "> Serialize</ a > any
22872287 CSS component values in the value.</ li >
22882288
22892289 < li > < p > Where multiple CSS component values can appear in any order
@@ -2324,7 +2324,7 @@ <h4 id="serializing-css-values"><span class="secno">6.6.2 </span>Serializing CSS
23242324
23252325
23262326 < p > To
2327- < dfn id ="serialize-a-css-value- component "> serialize a CSS component value</ dfn >
2327+ < dfn id ="serialize-a-css-component-value "> serialize a CSS component value</ dfn >
23282328 depends on the component, as follows:</ p >
23292329
23302330 < dl class ="switch ">
@@ -2423,7 +2423,7 @@ <h4 id="serializing-css-values"><span class="secno">6.6.2 </span>Serializing CSS
24232423 "< code > counter(</ code > ".</ li >
24242424 < li > < p > The result of
24252425 < a href ="#serialize-a-comma-separated-list " title ="serialize a comma-separated list "> serializing</ a > the
2426- < a href ="#serialize-a-css-value- component " title ="serialize a CSS component value "> serialized</ a >
2426+ < a href ="#serialize-a-css-component-value " title ="serialize a CSS component value "> serialized</ a >
24272427 CSS component values belonging to <counter> as list while omitting
24282428 the last CSS component value if it is 'decimal'.</ li >
24292429 < li > < p > "< code > )</ code > " (U+0029).</ li >
@@ -2474,7 +2474,7 @@ <h4 id="serializing-css-values"><span class="secno">6.6.2 </span>Serializing CSS
24742474 < dt > <shape></ dt >
24752475 < dd > < p > The string "< code > rect(</ code > ", followed by the result
24762476 of < a href ="#serialize-a-comma-separated-list " title ="serialize a comma-separated list "> serializing</ a > the
2477- < a href ="#serialize-a-css-value- component " title ="serialize a CSS component value "> serialized</ a >
2477+ < a href ="#serialize-a-css-component-value " title ="serialize a CSS component value "> serialized</ a >
24782478 CSS component values belonging to <shape> as list, followed by
24792479 "< code > )</ code > " (U+0029).</ dd >
24802480
@@ -2824,11 +2824,11 @@ <h2 class="no-num" id="references">References</h2>
28242824</ dl > </ div >
28252825
28262826
2827- < h2 class ="no-num " id ="changes "> Change History</ h2 >
2827+ < h2 class ="no-num " id ="change-history "> Change History</ h2 >
28282828
28292829 < p > This section documents the primary technical changes of CSSOM related functionality, with a focus on changes to API signatures.</ p >
28302830
2831- < h3 class ="no-num " id ="changes-from-dom2 "> Changes From DOM-2 Style</ h3 >
2831+ < h3 class ="no-num " id ="changes-from-dom-2-style "> Changes From DOM-2 Style</ h3 >
28322832
28332833 < ul >
28342834 < li > < p > Remove definition of < code > CSSRule.UNKNOWN_RULE</ code > , reserving its value (0) to prevent future reuse.</ li >
0 commit comments