1- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> < html lang ="en-US "> < head >
1+ <!DOCTYPE html> < html lang ="en-US "> < head >
2+ < meta charset ="utf-8 ">
23 < title > CSSOM View Module</ title >
3-
44 < style type ="text/css ">
55 pre .idl { border : solid thin; background : # eee ; color : # 000 ; padding : 0.5em }
66 pre .idl : link , pre .idl : visited { color : inherit; background : transparent }
1414 code { color : orangered }
1515 code : link , code : visited { color : inherit }
1616 </ style >
17-
1817 < link href ="http://www.w3.org/StyleSheets/TR/W3C-ED " rel ="stylesheet ">
1918 </ head >
20-
2119 < body class ="draft ">
2220 < div class ="head ">
2321
2725
2826 < h1 id ="cssom-view-module "> CSSOM View Module</ h1 >
2927
30- < h2 class ="no-num no-toc " id ="w3c-doctype "> Editor's Draft 4 August 2011 </ h2 >
28+ < h2 class ="no-num no-toc " id ="w3c-doctype "> Editor's Draft 24 February 2012 </ h2 >
3129
3230 < dl >
3331
3432 < dt > This Version:</ dt >
35- < dd class ="publish "> < a href ="http://www.w3.org/TR/2011/WD-cssom-view-20110804/ "> http://www.w3.org/TR/2011/WD-cssom-view-20110804/</ a > </ dd >
36-
37- < dt class ="publish "> Latest Version:</ dt >
38- < dd class ="publish "> < a href ="http://www.w3.org/TR/cssom-view/ "> http://www.w3.org/TR/cssom-view/</ a > </ dd >
39-
40- < dt class ="publish "> Latest Editor Draft:</ dt >
41- < dd class ="publish "> < a href ="http://dev.w3.org/csswg/cssom-view/ "> http://dev.w3.org/csswg/cssom-view/</ a > </ dd >
42-
43- < dt > Previous Versions:</ dt >
44- < dd > < a href ="http://www.w3.org/TR/2009/WD-cssom-view-20090804/ "> http://www.w3.org/TR/2009/WD-cssom-view-20090804/</ a > </ dd >
45- < dd > < a href ="http://www.w3.org/TR/2008/WD-cssom-view-20080222/ "> http://www.w3.org/TR/2008/WD-cssom-view-20080222/</ a > </ dd >
46-
47- < dt > Editor:</ dt >
33+ < dd class ="dontpublish "> < a href ="http://dvcs.w3.org/hg/cssom-view/raw-file/tip/Overview.html "> http://dvcs.w3.org/hg/cssom-view/raw-file/tip/Overview.html</ a > </ dd >
34+ < dt class ="dontpublish "> Participate:</ dt >
35+ < dd class ="dontpublish "> < a href ="mailto:www-style@w3.org?subject==%5Bcssom%5D%20 "> www-style@w3.org</ a > (< a href ="http://lists.w3.org/Archives/Public/www-style/ "> archives</ a > )
36+ < dd class ="dontpublish "> < a href ="https://www.w3.org/Bugs/Public/enter_bug.cgi?product=CSS&component=CSSOM%20View "> File a bug</ a >
37+ < dd class ="dontpublish "> < a href ="http://wiki.whatwg.org/wiki/IRC "> IRC: #css on Freenode</ a >
38+
39+ < dt class ="dontpublish "> Previous Versions:</ dt >
40+ < dd class ="dontpublish "> < a href ="http://www.w3.org/TR/2009/WD-cssom-view-20090804/ "> http://www.w3.org/TR/2009/WD-cssom-view-20090804/</ a > </ dd >
41+ < dd class ="dontpublish "> < a href ="http://www.w3.org/TR/2008/WD-cssom-view-20080222/ "> http://www.w3.org/TR/2008/WD-cssom-view-20080222/</ a > </ dd >
42+ < dd class ="dontpublish "> < a href ="http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/ "> http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/</ a > </ dd >
43+
44+ < dt > Editors:</ dt >
45+ < dd > < a href ="http://www.w3.org/wiki/User:Gadams "> Glenn Adams</ a >
46+ (< a href ="http://www.cox.com/ "> Cox Communications, Inc.</ a > )
47+ << a href ="mailto:glenn.adams@cox.com "> glenn.adams@cox.com</ a > ></ dd >
48+ < dd > < a href =""> Shane Stephens</ a >
49+ (< a href ="http://www.google.com/ "> Google, Inc.</ a > )
50+ << a href ="mailto:shans@google.com "> shans@google.com</ a > ></ dd >
51+
52+ < dt > Previous Editor:</ dt >
4853 < dd > < a href ="http://annevankesteren.nl/ "> Anne van Kesteren</ a >
4954 (< a href ="http://www.opera.com/ "> Opera Software ASA</ a > )
5055 << a href ="mailto:annevk@opera.com "> annevk@opera.com</ a > ></ dd >
5156 </ dl >
5257
53-
54- <!--begin-copyright-->
55- < p class ="copyright "> < a href ="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright "> Copyright</ a > © 2011 < a href ="http://www.w3.org/ "> < abbr title ="World Wide Web Consortium "> W3C</ abbr > </ a > < sup > ®</ sup > (< a href ="http://www.csail.mit.edu/ "> < abbr title ="Massachusetts Institute of Technology "> MIT</ abbr > </ a > , < a href ="http://www.ercim.eu/ "> < abbr title ="European Research Consortium for Informatics and Mathematics "> ERCIM</ abbr > </ a > , < a href ="http://www.keio.ac.jp/ "> Keio</ a > ), All Rights Reserved. W3C < a href ="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer "> liability</ a > , < a href ="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks "> trademark</ a > and < a href ="http://www.w3.org/Consortium/Legal/copyright-documents "> document use</ a > rules apply.</ p >
56- <!--end-copyright-->
57- </ div >
58+ < p class ="dontpublish copyright "> < a href ="http://creativecommons.org/publicdomain/zero/1.0/ " rel ="license "> < img alt ="CC0 " src ="http://i.creativecommons.org/p/zero/1.0/80x15.png "> </ a >
59+ To the extent possible under law, the editors have waived all copyright and
60+ related or neighboring rights to this work. In addition, as of
61+ 24 February 2012, the editors have made this specification available
62+ under the < a href ="http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0 " rel ="license "> Open
63+ Web Foundation Agreement, Version 1.0</ a > .</ p >
64+ </ div >
5865
5966 < hr >
6067
@@ -75,7 +82,7 @@ <h2 class="no-num no-toc" id="sotd">Status of this Document</h2>
7582 can be found in the < a href ="http://www.w3.org/TR/ "> W3C technical reports
7683 index at http://www.w3.org/TR/.</ a > </ em >
7784
78- < p > This is the 4 August 2011 W3C Working Draft of CSSOM View. Please send
85+ < p > This is the 24 February 2012 Editor's Draft of CSSOM View. Please send
7986comments to
8087< a href ="mailto:www-style@w3.org?subject=%5Bcssom-view%5D%20 "> www-style@w3.org</ a >
8188(< a href ="http://lists.w3.org/Archives/Public/www-style/ "> archived</ a > )
@@ -202,15 +209,13 @@ <h2 id="terminology"><span class="secno">3 </span>Terminology</h2>
202209
203210 < p > Terminology used in this specification is from
204211 DOM Core,
205- DOM Range,
206212 CSSOM and
207213 HTML.
208- < a href ="#refsDOMCORE "> [DOMCORE]</ a >
209- < a href ="#refsDOMRANGE "> [DOMRANGE]</ a >
214+ < a href ="#refsDOM "> [DOM]</ a >
210215 < a href ="#refsCSSOM "> [CSSOM]</ a >
211216 < a href ="#refsHTML "> [HTML]</ a >
212217
213- < p class ="XXX "> < dfn id ="mouseevent "> < code > MouseEvent</ code > </ dfn > is defined in …
218+ < p class ="XXX "> < dfn id ="mouseevent "> < code > MouseEvent</ code > </ dfn > is defined in …
214219
215220 < p > < dfn id ="the-html-body-element "> The HTML < code > body</ code > element</ dfn > is the first
216221 < code > body</ code >
@@ -283,7 +288,7 @@ <h2 id="extensions-to-the-window-interface"><span class="secno">4 </span>Extensi
283288
284289 < ol >
285290 < li > < p > Let < var title =""> parsed_media_query_list</ var > be the result of
286- < a class ="external " href ="http://dev .w3.org/csswg /cssom/#parse-a-media-query-list " title ="parse a media query list "> parsing</ a >
291+ < a class ="external " href ="http://dvcs .w3.org/hg /cssom/raw-file/tip/Overview.html #parse-a-media-query-list " title ="parse a media query list "> parsing</ a >
287292 < var title =""> media_query_list</ var > .</ li >
288293
289294 < li > < p > Return a < em > new</ em > < code > < a href ="#mediaquerylist "> MediaQueryList</ a > </ code > object,
@@ -419,7 +424,7 @@ <h3 id="the-mediaquerylist-interface"><span class="secno">4.1 </span>The <code t
419424 empty.</ p >
420425
421426 < p > If the associated media query list changes in evaluation then, for each
422- listener in the < a href ="#list-of-media-query-list-listeners "> list of media query list listeners</ a > — in
427+ listener in the < a href ="#list-of-media-query-list-listeners "> list of media query list listeners</ a > — in
423428 appending order, < a class ="external " href ="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#queue-a-task "> queue a task</ a > that invokes the listener,
424429 passing as argument the < code > < a href ="#mediaquerylist "> MediaQueryList</ a > </ code > object.</ p >
425430
@@ -428,9 +433,9 @@ <h3 id="the-mediaquerylist-interface"><span class="secno">4.1 </span>The <code t
428433 viewport can be written as follows:</ p >
429434 < pre > < code > function handleOrientationChange(mql) {
430435 if(mql.matches) // landscape
431- …
436+ …
432437 else
433- …
438+ …
434439}
435440var mql = matchMedia("(orientation:landscape)")
436441mql.addListener(handleOrientationChange)</ code > </ pre >
@@ -451,7 +456,7 @@ <h3 id="the-mediaquerylist-interface"><span class="secno">4.1 </span>The <code t
451456 < p > The
452457 < dfn id ="dom-mediaquerylist-media " title ="dom-MediaQueryList-media "> < code > media</ code > </ dfn >
453458 must return the
454- < a class ="external " href ="http://dev .w3.org/csswg /cssom/#serialize-a-media-query-list " title ="serialize a media query list "> serialized</ a > form of the associated media query list.</ p >
459+ < a class ="external " href ="http://dvcs .w3.org/hg /cssom/raw-file/tip/Overview.html #serialize-a-media-query-list " title ="serialize a media query list "> serialized</ a > form of the associated media query list.</ p >
455460
456461 < p > The < dfn id ="dom-mediaquerylist-matches " title ="dom-MediaQueryList-matches "> < code > matches</ code > </ dfn >
457462 must return true if the associated media query list
@@ -565,17 +570,17 @@ <h2 id="extensions-to-the-document-interface"><span class="secno">5 </span>Exten
565570 < li >
566571 < p > Otherwise, return a < a href ="#caret-position "> caret position</ a > where the
567572 < a href ="#caret-range "> caret range</ a > is a collapsed
568- < code class ="external "> < a href ="http://html5. org/specs/dom-range .html#range "> Range</ a > </ code > object for the position
573+ < code class ="external "> < a href ="http://dvcs.w3. org/hg/domcore/raw-file/tip/Overview .html#range "> Range</ a > </ code > object for the position
569574 where the text insertion point indicator would have been inserted and
570575 the other properties are set as follows:</ p >
571576
572577 < dl >
573578 < dt > < a href ="#caret-node "> caret node</ a > </ dt >
574- < dd > < p > The < code class ="external " title ="dom-Range-startContainer "> < a href ="http://html5. org/specs/dom-range .html#dom-range-startcontainer "> startContainer</ a > </ code >
579+ < dd > < p > The < code class ="external " title ="dom-Range-startContainer "> < a href ="http://dvcs.w3. org/hg/domcore/raw-file/tip/Overview .html#dom-range-startcontainer "> startContainer</ a > </ code >
575580 of the < a href ="#caret-range "> caret range</ a > .</ dd >
576581
577582 < dt > < a href ="#caret-offset "> caret offset</ a > </ dt >
578- < dd > < p > The < code class ="external " title ="dom-Range-startOffset "> < a href ="http://html5. org/specs/dom-range .html#dom-range-startoffset "> startOffset</ a > </ code > of
583+ < dd > < p > The < code class ="external " title ="dom-Range-startOffset "> < a href ="http://dvcs.w3. org/hg/domcore/raw-file/tip/Overview .html#dom-range-startoffset "> startOffset</ a > </ code > of
579584 the < a href ="#caret-range "> caret range</ a > .</ p >
580585 </ dl >
581586 </ li >
@@ -601,7 +606,7 @@ <h3 id="the-caretposition-interface"><span class="secno">5.1 </span>The <code ti
601606 < pre class ="idl "> interface < dfn id ="caretposition "> CaretPosition</ dfn > {
602607 readonly attribute < a class ="external " href ="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#node "> Node</ a > < a href ="#dom-caretposition-offsetnode " title ="dom-CaretPosition-offsetNode "> offsetNode</ a > ;
603608 readonly attribute unsigned long < a href ="#dom-caretposition-offset " title ="dom-CaretPosition-offset "> offset</ a > ;<!--
604- readonly attribute <span data-anolis-spec=domrange >Range</span>? <span title="dom-CaretPosition-range">range</span>;-->
609+ readonly attribute <span data-anolis-spec=dom >Range</span>? <span title="dom-CaretPosition-range">range</span>;-->
605610};</ pre >
606611
607612 < p > The
@@ -1152,7 +1157,7 @@ <h3 id="offset-attributes"><span class="secno">7.1 </span>The <code title="">off
11521157
11531158 < h2 id ="extensions-to-the-range-interface "> < span class ="secno "> 8 </ span > Extensions to the < code title =""> Range</ code > Interface</ h2 >
11541159
1155- < pre class ="idl "> partial interface < a class ="external " href ="http://html5. org/specs/dom-range .html#range "> Range</ a > {
1160+ < pre class ="idl "> partial interface < a class ="external " href ="http://dvcs.w3. org/hg/domcore/raw-file/tip/Overview .html#range "> Range</ a > {
11561161 < a href ="#clientrectlist "> ClientRectList</ a > < a href ="#dom-range-getclientrects " title ="dom-Range-getClientRects "> getClientRects</ a > ();
11571162 < a href ="#clientrect "> ClientRect</ a > < a href ="#dom-range-getboundingclientrect " title ="dom-Range-getBoundingClientRect "> getBoundingClientRect</ a > ();
11581163};</ pre >
@@ -1377,25 +1382,22 @@ <h3 id="the-clientrect-interface"><span class="secno">10.2 </span>The <code titl
13771382< h2 class ="no-num " id ="references "> References</ h2 >
13781383< h3 class ="no-num " id ="normative-references "> Normative references</ h3 >
13791384< div id ="anolis-references-normative "> < dl > < dt id ="refsCSSOM "> [CSSOM]
1380- < dd > < cite > < a href ="http://dev.w3.org/csswg/cssom/ "> CSSOM</ a > </ cite > , A. van Kesteren. W3C.
1381-
1382- < dt id ="refsDOMCORE "> [DOMCORE]
1383- < 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.
1385+ < dd > < cite > < a href ="http://dev.w3.org/csswg/cssom/ "> CSSOM</ a > </ cite > , Glenn Adams, Shane Stephens and Anne van Kesteren. W3C.
13841386
1385- < dt id ="refsDOMRANGE "> [DOMRANGE ]
1386- < dd > < cite > < a href ="http://html5. org/specs/dom-range .html "> DOM Range </ a > </ cite > , Ms2ger. WHATWG .
1387+ < dt id ="refsDOM "> [DOM ]
1388+ < 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 .
13871389
13881390< dt id ="refsHTML "> [HTML]
1389- < dd > < cite > < a href ="http://www.whatwg.org/html "> HTML</ a > </ cite > , I. Hickson. WHATWG.
1391+ < dd > < cite > < a href ="http://www.whatwg.org/C "> HTML</ a > </ cite > , Ian Hickson. WHATWG.
13901392
13911393< dt id ="refsRFC2119 "> [RFC2119]
1392- < 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.
1394+ < 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.
13931395
13941396< dt id ="refsSVG "> [SVG]
1395- < dd > < cite > < a href ="http://www.w3.org/TR/SVG/ "> Scalable Vector Graphics (SVG)</ a > </ cite > , O. Andersson, R. Berjon, E. Dahlström et al.. W3C.
1397+ < dd > < cite > < a href ="http://www.w3.org/TR/SVG/ "> Scalable Vector Graphics (SVG)</ a > </ cite > , O. Andersson, R. Berjon, E. Dahlström et al.. W3C.
13961398
13971399< dt id ="refsWEBIDL "> [WEBIDL]
1398- < dd > < cite > < a href ="http://dev.w3.org/2006/webapi/WebIDL/ "> Web IDL</ a > </ cite > , C. McCormack. W3C.
1400+ < dd > < cite > < a href ="http://dev.w3.org/2006/webapi/WebIDL/ "> Web IDL</ a > </ cite > , Cameron McCormack. W3C.
13991401
14001402</ dl > </ div >
14011403
@@ -1408,10 +1410,10 @@ <h3 class=no-num>Informative references</h3>
14081410
14091411 < h2 class ="no-num " id ="acknowledgments "> Acknowledgments</ h2 >
14101412
1411- < p > The editor would like to thank
1413+ < p > The editors would like to thank
14121414
14131415 Alexey Feldgendler,
1414- Björn Höhrmann ,
1416+ Björn Höhrmann ,
14151417 David Vest,
14161418 Garrett Smith,
14171419 Hallvord R. M. Steen,
0 commit comments