2929< p > < a href ="http://www.w3.org/ "> < img alt ="W3C " height ="48 " src ="http://www.w3.org/Icons/w3c_home " width ="72 "> </ a > </ p >
3030<!--end-logo-->
3131 < h1 id ="cssom "> CSSOM</ h1 >
32- < h2 class ="no-num no-toc " id ="editor-s-draft-26-july -2011 "> Editor's Draft 26 July 2011</ h2 >
32+ < h2 class ="no-num no-toc " id ="editor-s-draft-3-october -2011 "> Editor's Draft 3 October 2011</ h2 >
3333
3434 < dl >
3535
@@ -69,13 +69,13 @@ <h2 class="no-num no-toc" id="sotd">Status of this Document</h2>
6969 can be found in the
7070 < a href ="http://www.w3.org/TR/ "> W3C technical reports index at http://www.w3.org/TR/.</ a > </ em >
7171
72- < p > This is the 26 July 2011 Editor's Draft of CSSOM. Please send
72+ < p > This is the 3 October 2011 Editor's Draft of CSSOM. Please send
7373comments to
7474< a href ="mailto:www-style@w3.org?subject=%5Bcssom%5D%20 "> www-style@w3.org</ a >
7575(< a href ="http://lists.w3.org/Archives/Public/www-style/ "> archived</ a > )
7676with < samp > [cssom]</ samp > at the start of the subject line.
7777
78- < p > This is the 26 July 2011 First Public Working Draft of CSSOM, produced by the
78+ < p > This is the 3 October 2011 First Public Working Draft of CSSOM, produced by the
7979 < a href ="http://www.w3.org/Style/CSS/members "> CSS Working Group</ a > (part
8080 of the < a href ="http://www.w3.org/Style/ "> Style Activity</ a > ).
8181 <!--XXX remove "First Public" after initial publication -->
@@ -243,12 +243,12 @@ <h2 id="conformance"><span class="secno">2 </span>Conformance</h2>
243243< h2 id ="terminology "> < span class ="secno "> 3 </ span > Terminology</ h2 >
244244
245245< p > Terminology used in this specification is from
246- < cite > DOM Core </ cite > ,
246+ < cite > DOM4 </ cite > ,
247247< cite > HTML</ cite > ,
248248< cite > Associating Style Sheets with XML documents</ cite >
249249and
250250< cite > XML</ cite >
251- < a href ="#refsDOMCORE "> [DOMCORE ]</ a >
251+ < a href ="#refsDOM "> [DOM ]</ a >
252252< a href ="#refsHTML "> [HTML]</ a >
253253< a href ="#refsXMLSS "> [XMLSS]</ a >
254254< a href ="#refsXML "> [XML]</ a >
@@ -850,7 +850,7 @@ <h3 id="style-sheet-0"><span class="secno">6.1 </span>Style Sheet</h3>
850850 < dd > < p > The literal string "< code > text/css</ code > ".</ dd >
851851
852852 < dt > < dfn id ="style-sheet-location "> style sheet location</ dfn > </ dt >
853- < dd > < p > The < a class ="external " href ="http://www.whatwg.org/html/ #url "> URL</ a > of the
853+ < dd > < p > The < a class ="external " href ="http://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html #url "> URL</ a > of the
854854 < a href ="#style-sheet "> style sheet</ a > or null if the < a href ="#style-sheet "> style sheet</ a > was
855855 embedded.</ dd >
856856
@@ -887,7 +887,7 @@ <h3 id="style-sheet-0"><span class="secno">6.1 </span>Style Sheet</h3>
887887 < p > In these examples the < a href ="#style-sheet-title "> style sheet title</ a > ends up being
888888 empty:</ p >
889889
890- < pre > <style title="" > body { background:papayawhip } </style></ pre >
890+ < pre > <style title> body { background:papayawhip } </style></ pre >
891891
892892 < pre > <style> body { background:orange } </style></ pre >
893893 </ div >
@@ -1040,7 +1040,7 @@ <h3 id="style-sheet-collections"><span class="secno">6.2 </span>Style Sheet Coll
10401040 an ordered list that contains all
10411041 < a href ="#style-sheet " title ="style sheet "> style sheets</ a > associated with the
10421042 < code class ="external "> < a href ="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#document "> Document</ a > </ code > , in
1043- < a class ="external " href ="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#tree-order "> tree order</ a > , with
1043+ < a class ="external " href ="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-order " title =" concept- tree-order "> tree order</ a > , with
10441044 < a href ="#style-sheet " title ="style sheet "> style sheets</ a > created from HTTP
10451045 < code title ="http-link "> Link</ code > headers first, if any, in header
10461046 order.</ p >
@@ -1204,7 +1204,7 @@ <h4 id="the-stylesheetlist-sequence"><span class="secno">6.2.2 </span>The <code
12041204<!--
12051205 <pre class="idl">interface <dfn>StyleSheetList</dfn> {
12061206 readonly attribute unsigned long <span title="stylesheetlist-length">length</span>;
1207- getter <span>StyleSheet</span> <span title="stylesheetlist-item">item</span>(unsigned long <var title="" >index</var>);
1207+ getter <span>StyleSheet</span> <span title="stylesheetlist-item">item</span>(unsigned long <var title>index</var>);
12081208};</pre>
12091209
12101210 <p>The
@@ -1213,10 +1213,10 @@ <h4 id="the-stylesheetlist-sequence"><span class="secno">6.2.2 </span>The <code
12131213 objects currently in the list.</p>
12141214
12151215 <p>The
1216- <dfn title="stylesheetlist-item"><code>item(<var title="" >index</var>)</code></dfn>
1216+ <dfn title="stylesheetlist-item"><code>item(<var title>index</var>)</code></dfn>
12171217 method, when invoked, must return the
1218- <code>StyleSheet</code> object in the list given by <var title="" >index</var>, or
1219- null, if <var title="" >index</var> is greater than or equal to the
1218+ <code>StyleSheet</code> object in the list given by <var title>index</var>, or
1219+ null, if <var title>index</var> is greater than or equal to the
12201220 number of items in the list.</p>
12211221-->
12221222
@@ -1530,18 +1530,18 @@ <h4 id="requirements-on-user-agents-implementing-the-xml-stylesheet-processing-i
15301530 value is not a < a href ="#supported-styling-language "> supported styling language</ a > the user agent
15311531 may terminate these steps.</ li >
15321532
1533- < li > < p > < a class ="external " href ="http://www.whatwg.org/html/ #resolve-a-url " title ="Resolve a URL "> Resolve</ a >
1534- the < a class ="external " href ="http://www.whatwg.org/html/ #url "> URL</ a > specified by the
1533+ < li > < p > < a class ="external " href ="http://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html #resolve-a-url " title ="Resolve a URL "> Resolve</ a >
1534+ the < a class ="external " href ="http://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html #url "> URL</ a > specified by the
15351535 < code title =""> href</ code > < a class ="external " href ="http://www.w3.org/TR/xml-stylesheet/#dt-pseudo-attribute "> pseudo-attribute</ a > and then
1536- < a class ="external " href ="http://www.whatwg.org/html/ #fetch "> fetch</ a > it.</ li >
1536+ < a class ="external " href ="http://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html #fetch "> fetch</ a > it.</ li >
15371537
15381538 < li >
15391539 < p > When the resource is available, the document is in
15401540 < a class ="external " href ="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-quirks-mode " title ="concept-quirks-mode "> quirks mode</ a >
15411541 and the
1542- < a class ="external " href ="http://www.whatwg.org/html/ #content-type "> Content-Type metadata</ a > of
1542+ < a class ="external " href ="http://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html #content-type "> Content-Type metadata</ a > of
15431543 the resource is not a < a href ="#supported-styling-language "> supported styling language</ a > change the
1544- < a class ="external " href ="http://www.whatwg.org/html/ #content-type "> Content-Type metadata</ a > of the resource
1544+ < a class ="external " href ="http://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html #content-type "> Content-Type metadata</ a > of the resource
15451545 to < code title =""> text/css</ code > .</ p >
15461546
15471547 < p class ="note "> This step might never actually happen, but is included
@@ -1556,7 +1556,7 @@ <h4 id="requirements-on-user-agents-implementing-the-xml-stylesheet-processing-i
15561556
15571557 < dl >
15581558 < dt > < a href ="#style-sheet-location "> style sheet location</ a > </ dt >
1559- < dd > < p > The < a class ="external " href ="http://www.whatwg.org/html/ #absolute-url "> absolute URL</ a > of the
1559+ < dd > < p > The < a class ="external " href ="http://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html #absolute-url "> absolute URL</ a > of the
15601560 resource.</ dd >
15611561
15621562 < dt > < a href ="#style-sheet-parent "> style sheet parent</ a > </ dt >
@@ -1608,15 +1608,15 @@ <h4 id="requirements-on-user-agents-implementing-the-http-link-header"><span cla
16081608 "< code title =""> alternate</ code > " and < var title =""> title</ var > is the
16091609 empty string terminate these steps.</ li >
16101610
1611- < li > < p > < a class ="external " href ="http://www.whatwg.org/html/ #resolve-a-url " title ="Resolve a URL "> Resolve</ a >
1612- the specified < a class ="external " href ="http://www.whatwg.org/html/ #url "> URL</ a > and
1613- < a class ="external " href ="http://www.whatwg.org/html/ #fetch "> fetch</ a > it.</ li >
1611+ < li > < p > < a class ="external " href ="http://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html #resolve-a-url " title ="Resolve a URL "> Resolve</ a >
1612+ the specified < a class ="external " href ="http://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html #url "> URL</ a > and
1613+ < a class ="external " href ="http://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html #fetch "> fetch</ a > it.</ li >
16141614
16151615 < li > < p > When the resource is available, the document is in
16161616 < a class ="external " href ="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-quirks-mode " title ="concept-quirks-mode "> quirks mode</ a >
1617- and the < a class ="external " href ="http://www.whatwg.org/html/ #content-type "> Content-Type metadata</ a > of
1617+ and the < a class ="external " href ="http://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html #content-type "> Content-Type metadata</ a > of
16181618 the resource is not a < a href ="#supported-styling-language "> supported styling language</ a > change the
1619- < a class ="external " href ="http://www.whatwg.org/html/ #content-type "> Content-Type metadata</ a > of the resource
1619+ < a class ="external " href ="http://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html #content-type "> Content-Type metadata</ a > of the resource
16201620 to < code title =""> text/css</ code > .</ li >
16211621
16221622 < li > < p > If the resource is not in a
@@ -1627,7 +1627,7 @@ <h4 id="requirements-on-user-agents-implementing-the-http-link-header"><span cla
16271627
16281628 < dl >
16291629 < dt > < a href ="#style-sheet-location "> style sheet location</ a > </ dt >
1630- < dd > < p > The < a class ="external " href ="http://www.whatwg.org/html/ #absolute-url "> absolute URL</ a > of the
1630+ < dd > < p > The < a class ="external " href ="http://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html #absolute-url "> absolute URL</ a > of the
16311631 resource.</ dd >
16321632
16331633 < dt > < a href ="#style-sheet-owner-node "> style sheet owner node</ a > </ dt >
@@ -2305,7 +2305,7 @@ <h4 id="the-cssstyledeclaration-interface"><span class="secno">6.5.1 </span>The
23052305
23062306 < li >
23072307 < p > If < a href ="#parse-a-css-value " title ="parse a CSS value "> parsing the
2308- < var title =""> value</ var > </ a > returns null abort this algorithm.</ p >
2308+ < var title =""> value</ var > </ a > returns null terminate this algorithm.
23092309
23102310 < p class ="note "> < var title =""> value</ var > can not include
23112311 "< code title =""> !important</ code > ".</ p >
@@ -2741,21 +2741,21 @@ <h4>CSS Properties</h4>
27412741 following algorithm:</p>
27422742
27432743 <ol>
2744- <li>Let <var title="" >r</var> be the CSS property to be
2744+ <li>Let <var title>r</var> be the CSS property to be
27452745 converted.</li>
27462746
27472747 <li>Uppercase the first character after every U+002D (<code>-</code>) in
2748- <var title="" >r</var>.</li>
2748+ <var title>r</var>.</li>
27492749
2750- <li>Remove every U+002D (<code>-</code>) in <var title="" >r</var>.</li>
2750+ <li>Remove every U+002D (<code>-</code>) in <var title>r</var>.</li>
27512751
2752- <li>Return <var title="" >r</var>.</li>
2752+ <li>Return <var title>r</var>.</li>
27532753 </ol>
27542754
27552755 <p class="note">This means that
2756- <code>-<var title="" >vendor</var>-<var title="" >property</var></code>
2756+ <code>-<var title>vendor</var>-<var title>property</var></code>
27572757 becomes
2758- <code><var title="" ><strong>V</strong>endor</var><var title="" ><strong>P</strong>roperty</var></code>
2758+ <code><var title><strong>V</strong>endor</var><var title><strong>P</strong>roperty</var></code>
27592759 for instance.</p>
27602760-->
27612761
@@ -2966,7 +2966,7 @@ <h4 id="serializing-css-values"><span class="secno">6.6.2 </span>Serializing CSS
29662966 the literal string "< code > s</ code > ".</ dd >
29672967
29682968 < dt > <uri></ dt >
2969- < dd > < p > The < a class ="external " href ="http://www.whatwg.org/html/ #absolute-url "> absolute URL</ a >
2969+ < dd > < p > The < a class ="external " href ="http://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html #absolute-url "> absolute URL</ a >
29702970 < a href ="#serialize-a-url " title ="serialize a URL "> URL escaped</ a > .</ dd >
29712971 </ dl >
29722972
@@ -3125,7 +3125,7 @@ <h3 id="the-elementcssinlinestyle-interface"><span class="secno">7.1 </span>The
31253125
31263126 < h3 id ="extensions-to-the-window-interface "> < span class ="secno "> 7.2 </ span > Extensions to the < code title =""> Window</ code > Interface</ h3 >
31273127
3128- < pre class ="idl "> partial interface < a class ="external " href ="http://www.whatwg.org/html/ #window "> Window</ a > {
3128+ < pre class ="idl "> partial interface < a class ="external " href ="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html #window "> Window</ a > {
31293129 < a href ="#cssstyledeclaration "> CSSStyleDeclaration</ a > < a href ="#dom-window-getcomputedstyle " title ="dom-Window-getComputedStyle "> getComputedStyle</ a > (< a class ="external " href ="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element "> Element</ a > < var title =""> elt</ var > );
31303130 < a href ="#cssstyledeclaration "> CSSStyleDeclaration</ a > < a href ="#dom-window-getcomputedstyle " title ="dom-Window-getComputedStyle "> getComputedStyle</ a > (< a class ="external " href ="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element "> Element</ a > < var title =""> elt</ var > , DOMString < var title =""> pseudoElt</ var > );
31313131};</ pre >
@@ -3137,7 +3137,7 @@ <h3 id="extensions-to-the-window-interface"><span class="secno">7.2 </span>Exten
31373137 < ol >
31383138 < li > < p > Let < var title =""> doc</ var > be the
31393139 < code class ="external "> < a href ="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#document "> Document</ a > </ code >
3140- associated with the < code class ="external "> < a href ="http://www.whatwg.org/html/ #window "> Window</ a > </ code > object on
3140+ associated with the < code class ="external "> < a href ="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html #window "> Window</ a > </ code > object on
31413141 which the method was invoked.</ li >
31423142
31433143 < li > < p > Let < var title =""> obj</ var > be < var title =""> elt</ var > .</ li >
@@ -3277,20 +3277,20 @@ <h3 id="default-style"><span class="secno">9.1 </span><dfn title="http-default-s
32773277
32783278< h2 class ="no-num " id ="references "> References</ h2 >
32793279< h3 class ="no-num " id ="normative-references "> Normative references</ h3 >
3280- < div id ="anolis-references-normative "> < dl > < dt id ="refsDOMCORE "> [DOMCORE ]
3281- < dd > < cite > < a href ="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html "> DOM Core </ a > </ cite > , A. van Kesteren and Ms2ger. W3C.
3280+ < div id ="anolis-references-normative "> < dl > < dt id ="refsDOM "> [DOM ]
3281+ < dd > < cite > < a href ="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html "> DOM4 </ a > </ cite > , Anne van Kesteren, Aryeh Gregor and Ms2ger. W3C.
32823282
32833283< dt id ="refsHTML "> [HTML]
3284- < dd > < cite > < a href ="http://www.whatwg.org/html "> HTML</ a > </ cite > , I. Hickson. WHATWG.
3284+ < dd > < cite > < a href ="http://www.whatwg.org/html "> HTML</ a > </ cite > , Ian Hickson. WHATWG.
32853285
32863286< dt id ="refsRFC2119 "> [RFC2119]
3287- < dd > < cite > < a href ="http://www .ietf.org/rfc /rfc2119.txt "> Key words for use in RFCs to Indicate Requirement Levels</ a > </ cite > , S. Bradner. IETF.
3287+ < dd > < cite > < a href ="http://tools .ietf.org/html /rfc2119 "> Key words for use in RFCs to Indicate Requirement Levels</ a > </ cite > , Scott Bradner. IETF.
32883288
32893289< dt id ="refsXML "> [XML]
3290- < dd > < cite > < a href ="http://www.w3.org/TR/xml/ "> Extensible Markup Language</ a > </ cite > , T. Bray, J. Paoli, C. Sperberg-McQueen et al.. W3C.
3290+ < dd > < cite > < a href ="http://www.w3.org/TR/xml/ "> Extensible Markup Language</ a > </ cite > , Tim Bray, Jean Paoli, C. M . Sperberg-McQueen et al.. W3C.
32913291
32923292< dt id ="refsXMLSS "> [XMLSS]
3293- < dd > < cite > < a href ="http://www.w3.org/TR/xml-stylesheet/ "> Associating Style Sheets with XML documents 1.0 (Second Edition)</ a > </ cite > , J. Clark, S. Pieters and H. S. Thompson. W3C.
3293+ < dd > < cite > < a href ="http://www.w3.org/TR/xml-stylesheet/ "> Associating Style Sheets with XML documents 1.0 (Second Edition)</ a > </ cite > , James Clark, Simon Pieters and Henry S. Thompson. W3C.
32943294
32953295</ dl > </ div >
32963296
@@ -3340,7 +3340,7 @@ <h2 class="no-num" id="acknowledgments">Acknowledgments</h2>
33403340
33413341 <style media="x"> invokes .sheet.media.mediaText = "x"
33423342
3343- <style title="" > does not "have" a title
3343+ <style title> does not "have" a title
33443344
33453345 .cascadedStyle that returns less keywords than currentStyle, no inherit,
33463346 etc.
0 commit comments