2323 .members dd p : first-child { margin-top : 0 }
2424 .members dd p : last-child { margin-bottom : 0 }
2525 </ style >
26- < link href ="http://www.w3.org/StyleSheets/TR/base " rel =stylesheet >
26+ < link href ="http://www.w3.org/StyleSheets/TR/W3C-ED " rel =stylesheet >
2727
2828 < body class =draft >
2929 < div class =head >
3030 < h1 id =cssom > Cascading Style Sheets Object Model (< abbr > CSSOM</ abbr > )</ h1 >
3131
32- < h2 class ="no-num no-toc " id =""> Editor's draft <!--W3C Working Draft--> 27
33- December 2007</ h2 >
32+ < h2 class ="no-num no-toc " id =""> Editor's Draft 27 December 2007</ h2 >
3433
3534 < dl >
3635 < dt > This version:
3736
3837 < dd > < a
39- href ="http://www.w3.org/TR/2007/WD-cssom-20071227/ "> http://www.w3.org/TR/2007/WD-cssom-20071227/</ a >
38+ href ="http://dev.w3.org/csswg/cssom/ "> http://dev.w3.org/csswg/cssom/</ a > </ dd >
39+ <!--<dd><a href="http://www.w3.org/TR/2007/ED-cssom-20071227/">http://www.w3.org/TR/2007/WD-cssom-20071227/</a></dd>-->
4040
4141 < dt > Latest version:
4242
@@ -64,9 +64,10 @@ <h2 class="no-num no-toc" id=abstract>Abstract</h2>
6464 < h2 class ="no-num no-toc " id =sotd > Status of this Document</ h2 >
6565 <!--begin-status-->
6666
67- < p > [Sorry, the postprocessor doesn't yet have the boilerplate text for this
68- status]</ p >
69- <!--end-status-->
67+ < p > This is a public copy of the editors' draft. It is provided for
68+ discussion only and may change at any moment. It probably contains errors.
69+ Its publication here does not imply endorsement of its contents by W3C.
70+ <!--end-status-->
7071
7172 < p class =issue > This document is in its very early stages. The intention is
7273 that this specification will in due course supersede DOM Level 2 Style.
@@ -105,51 +106,54 @@ <h2 class="no-num no-toc" id=toc>Table of Contents</h2>
105106 < code > MediaList</ code > Interface</ a >
106107 </ ul >
107108
108- < li > < a href ="#accessing "> < span class =secno > 3.3. </ span > Accessing Style
109- Sheets Through the DOM</ a >
109+ < li > < a href ="#style1 "> < span class =secno > 3.3. </ span > Style Sheet
110+ Types</ a >
111+
112+ < li > < a href ="#accessing "> < span class =secno > 3.4. </ span > Accessing Style
113+ Sheets</ a >
110114 < ul class =toc >
111- < li > < a href ="#the-linkstyle "> < span class =secno > 3.3 .1. </ span > The < code
115+ < li > < a href ="#the-linkstyle "> < span class =secno > 3.4 .1. </ span > The < code
112116 title =""> LinkStyle</ code > Interface</ a >
113117 < ul class =toc >
114- < li > < a href ="#requirements "> < span class =secno > 3.3 .1.1.
118+ < li > < a href ="#requirements "> < span class =secno > 3.4 .1.1.
115119 </ span > Requirements on specifications</ a >
116120 </ ul >
117121
118- < li > < a href ="#requirements0 "> < span class =secno > 3.3 .2.
122+ < li > < a href ="#requirements0 "> < span class =secno > 3.4 .2.
119123 </ span > Requirements User Agents Implementing SVG</ a >
120124
121- < li > < a href ="#requirements1 "> < span class =secno > 3.3 .3.
125+ < li > < a href ="#requirements1 "> < span class =secno > 3.4 .3.
122126 </ span > Requirements on User Agents Implementing
123127 < code > <?xml-stylesheet?> </ code > </ a >
124128
125- < li > < a href ="#requirements2 "> < span class =secno > 3.3 .4.
129+ < li > < a href ="#requirements2 "> < span class =secno > 3.4 .4.
126130 </ span > Requirements on User Agents Implementing the HTTP < code
127131 title =""> Link</ code > Header</ a >
128132
129- < li > < a href ="#the-documentstyle "> < span class =secno > 3.3 .5. </ span > The
133+ < li > < a href ="#the-documentstyle "> < span class =secno > 3.4 .5. </ span > The
130134 < code title =""> DocumentStyle</ code > Interface</ a >
131135 </ ul >
132136
133- < li > < a href ="#dynamically "> < span class =secno > 3.4 . </ span > Dynamically
137+ < li > < a href ="#dynamically "> < span class =secno > 3.5 . </ span > Dynamically
134138 adding new style sheets</ a >
135139 < ul class =toc >
136- < li > < a href ="#adding "> < span class =secno > 3.4 .1. </ span > Adding style
140+ < li > < a href ="#adding "> < span class =secno > 3.5 .1. </ span > Adding style
137141 sheets</ a >
138142
139- < li > < a href ="#changing "> < span class =secno > 3.4 .2. </ span > Changing the
143+ < li > < a href ="#changing "> < span class =secno > 3.5 .2. </ span > Changing the
140144 preferred style sheet set</ a >
141145
142- < li > < a href ="#examples "> < span class =secno > 3.4 .3. </ span > Examples</ a >
146+ < li > < a href ="#examples "> < span class =secno > 3.5 .3. </ span > Examples</ a >
143147 </ ul >
144148
145- < li > < a href ="#interaction "> < span class =secno > 3.5 . </ span > Interaction
149+ < li > < a href ="#interaction "> < span class =secno > 3.6 . </ span > Interaction
146150 with the User Interface</ a >
147151 < ul class =toc >
148- < li > < a href ="#persisting "> < span class =secno > 3.5 .1. </ span > Persisting
152+ < li > < a href ="#persisting "> < span class =secno > 3.6 .1. </ span > Persisting
149153 the selected style sheet set</ a >
150154 </ ul >
151155
152- < li > < a href ="#forward "> < span class =secno > 3.6 . </ span > Forward
156+ < li > < a href ="#forward "> < span class =secno > 3.7 . </ span > Forward
153157 compatibility</ a >
154158 </ ul >
155159
@@ -263,7 +267,8 @@ <h3 id=history><span class=secno>1.1. </span>History</h3>
263267 title ="[CSSOM] CSSValue and related interfaces (message from the CSS
264268 WG) "> have been obsoleted</ a > because they where thought to be too awkward
265269 for frequent use. This specification no longer contains those features.
266- < code > DOMImplementationCSS</ code > has been removed as well.
270+ < code > DOMImplementationCSS</ code > and < code > CSSCharsetRule</ code > have
271+ been removed as well as they were not deemed necessary.
267272
268273 < h2 id =conformance > < span class =secno > 2. </ span > Conformance Requirements</ h2 >
269274
@@ -388,7 +393,7 @@ <h3 id=style0><span class=secno>3.1. </span>Style Sheet</h3>
388393 < pre > <link rel="alternate stylesheet" title="x" href="data:text/css,…"> </ pre >
389394 </ div >
390395
391- < dt > < dfn id =style1 > style sheet disabled flag</ dfn >
396+ < dt > < dfn id =style2 > style sheet disabled flag</ dfn >
392397
393398 < dd >
394399 < p > ...</ p >
@@ -429,9 +434,9 @@ <h4 id=the-stylesheet><span class=secno>3.1.1. </span>The <code
429434 < p > The < dfn id =stylesheet-disabled
430435 title =stylesheet-disabled > < code > disabled</ code > </ dfn > attribute, on
431436 getting, < em class =ct > must</ em > return < code > true</ code > when the < a
432- href ="#style1 "> style sheet disabled flag</ a > is < i > true</ i > and
437+ href ="#style2 "> style sheet disabled flag</ a > is < i > true</ i > and
433438 < code > false</ code > if that flag is < i > false</ i > . On setting, it < em
434- class =ct > must</ em > set the < a href ="#style1 "> style sheet disabled flag</ a >
439+ class =ct > must</ em > set the < a href ="#style2 "> style sheet disabled flag</ a >
435440 to < i > tru
D7B1
e</ i > if set to < code > true</ code > , and set the flag to
436441 < i > false</ i > if set to < code > false</ code > .
437442
@@ -563,10 +568,14 @@ <h4 id=the-medialist><span class=secno>3.2.1. </span>The <code><a
563568 < var > medium</ var > is not in the collection. Otherwise, < var > medium</ var >
564569 < em class =ct > must</ em > be removed from the collection.
565570
566- < h3 id =accessing > < span class =secno > 3.3. </ span > Accessing Style Sheets
567- Through the DOM</ h3 >
571+ < h3 id =style1 > < span class =secno > 3.3. </ span > Style Sheet Types</ h3 >
572+
573+ < p > Lets see, we have persistent style sheets, alternative style sheet sets,
574+ preferred style sheet sets
575+
576+ < h3 id =accessing > < span class =secno > 3.4. </ span > Accessing Style Sheets</ h3 >
568577
569- < h4 id =the-linkstyle > < span class =secno > 3.3 .1. </ span > The < code
578+ < h4 id =the-linkstyle > < span class =secno > 3.4 .1. </ span > The < code
570579 title =""> LinkStyle</ code > Interface</ h4 >
571580
572581 < p > The < code > < a href ="#linkstyle "> LinkStyle</ a > </ code > interface provides a
@@ -605,7 +614,7 @@ <h4 id=the-linkstyle><span class=secno>3.3.1. </span>The <code
605614 < p class =note > Whether or not the node refers to a style sheet is defined by
606615 the specification that defines the semantics of said node.
607616
608- < h5 id =requirements > < span class =secno > 3.3 .1.1. </ span > Requirements on
617+ < h5 id =requirements > < span class =secno > 3.4 .1.1. </ span > Requirements on
609618 specifications</ h5 >
610619
611620 < p > Specifications introducing new ways of associating style sheets through
@@ -620,7 +629,7 @@ <h5 id=requirements><span class=secno>3.3.1.1. </span>Requirements on
620629 < code > <?xml-stylesheet?> </ code > , and the HTTP < code > Link</ code > header
621630 for the time being.
622631
623- < h4 id =requirements0 > < span class =secno > 3.3 .2. </ span > Requirements User
<
340F
/tr>632+ < h4 id =requirements0 > < span class =secno > 3.4 .2. </ span > Requirements User
624633 Agents Implementing SVG</ h4 >
625634
626635 < p > < em > This section applies to user agents implementing SVG.</ em >
@@ -631,7 +640,7 @@ <h4 id=requirements0><span class=secno>3.3.2. </span>Requirements User
631640
632641 < p class =issue > ...
633642
634- < h4 id =requirements1 > < span class =secno > 3.3 .3. </ span > Requirements on User
643+ < h4 id =requirements1 > < span class =secno > 3.4 .3. </ span > Requirements on User
635644 Agents Implementing < code > <?xml-stylesheet?> </ code > </ h4 >
636645
637646 < p > < em > This section applies to user agents implementing
@@ -666,14 +675,14 @@ <h4 id=requirements1><span class=secno>3.3.3. </span>Requirements on User
666675 pseudo-attribute, the < a href ="#style-sheet-alternate-flag "> style sheet
667676 alternate flag</ a > to < i > true</ i > if the < code title =""> alternate</ code >
668677 pseudo-attribute is "< code > yes</ code > " and < i > false</ i > otherwise, and the
669- < a href ="#style1 "> style sheet disabled flag</ a > to < i > false</ i > .
678+ < a href ="#style2 "> style sheet disabled flag</ a > to < i > false</ i > .
670679
671- < h4 id =requirements2 > < span class =secno > 3.3 .4. </ span > Requirements on User
680+ < h4 id =requirements2 > < span class =secno > 3.4 .4. </ span > Requirements on User
672681 Agents Implementing the HTTP < code title =""> Link</ code > Header</ h4 >
673682
674683 < p class =issue > ...
675684
676- < h4 id =the-documentstyle > < span class =secno > 3.3 .5. </ span > The < code
685+ < h4 id =the-documentstyle > < span class =secno > 3.4 .5. </ span > The < code
677686 title =""> DocumentStyle</ code > Interface</ h4 >
678687
679688 < p > Any object implementing the < code > Document</ code > interface < em
@@ -822,7 +831,7 @@ <h4 id=the-documentstyle><span class=secno>3.3.5. </span>The <code
822831 attributes.</ p >
823832 </ dl >
824833
825- < h3 id =dynamically > < span class =secno > 3.4 . </ span > Dynamically adding new
834+ < h3 id =dynamically > < span class =secno > 3.5 . </ span > Dynamically adding new
826835 style sheets</ h3 >
827836
828837 < p > If new style sheets < a href ="#have-a " title ="have a title "> with
@@ -831,7 +840,7 @@ <h3 id=dynamically><span class=secno>3.4. </span>Dynamically adding new
831840 initially enabled or not. How this happens depends on the exact state of
832841 the document at the time the style sheet is added, as follows.
833842
834- < h4 id =adding > < span class =secno > 3.4 .1. </ span > Adding style sheets</ h4 >
843+ < h4 id =adding > < span class =secno > 3.5 .1. </ span > Adding style sheets</ h4 >
835844
836845 < p > First, if the style sheet is a preferred style sheet (it < a
837846 href ="#have-a " title ="have a title "> has a title</ a > , but is not marked as
@@ -864,7 +873,7 @@ <h4 id=adding><span class=secno>3.4.1. </span>Adding style sheets</h4>
864873
865874 < p > Otherwise, the style sheet < em class =ct > must</ em > be disabled.
866875
867- < h4 id =changing > < span class =secno > 3.4 .2. </ span > Changing the preferred
876+ < h4 id =changing > < span class =secno > 3.5 .2. </ span > Changing the preferred
868877 style sheet set</ h4 >
869878
870879 < p > The first time the < span > preferred style sheet</ span > set is set, which
@@ -896,7 +905,7 @@ <h4 id=changing><span class=secno>3.4.2. </span>Changing the preferred
896905 href ="#documentstyle-lastStyleSheetSet "> lastStyleSheetSet</ a > </ code >
897906 attribute is, again, not changed.)
898907
899- < h4 id =examples > < span class =secno > 3.4 .3. </ span > Examples</ h4 >
908+ < h4 id =examples > < span class =secno > 3.5 .3. </ span > Examples</ h4 >
900909
901910 < div class =example >
902911 < p > Thus, in the following HTML snippet:</ p >
@@ -951,7 +960,7 @@ <h4 id=examples><span class=secno>3.4.3. </span>Examples</h4>
951960 enabled and which are not.</ p >
952961 </ div >
953962
954- < h3 id =interaction > < span class =secno > 3.5 . </ span > Interaction with the User
963+ < h3 id =interaction > < span class =secno > 3.6 . </ span > Interaction with the User
955964 Interface</ h3 >
956965
957966 < p > The user interface of Web browsers that support style sheets < em
@@ -971,7 +980,7 @@ <h3 id=interaction><span class=secno>3.5. </span>Interaction with the User
971980 href ="#documentstyle-lastStyleSheetSet "> lastStyleSheetSet</ a > </ code >
972981 attribute.
973982
974- < h4 id =persisting > < span class =secno > 3.5 .1. </ span > Persisting the selected
983+ < h4 id =persisting > < span class =secno > 3.6 .1. </ span > Persisting the selected
975984 style sheet set</ h4 >
976985
977986 < p > If UAs persist the selected style sheet set, they should use the value
@@ -996,7 +1005,7 @@ <h4 id=persisting><span class=secno>3.5.1. </span>Persisting the selected
9961005 should decide to persist the style sheet set or whether or how to persist
9971006 the selected set across pages.
9981007
999- < h3 id =forward > < span class =secno > 3.6 . </ span > Forward compatibility</ h3 >
1008+ < h3 id =forward > < span class =secno > 3.7 . </ span > Forward compatibility</ h3 >
10001009
10011010 < p > Future versions of CSS may introduce ways of having alternative style
10021011 sheets declared at levels lower than the top level, i.e. embedded within
0 commit comments