|
16 | 16 |
|
17 | 17 | <h1>CSSOM View Module</h1> |
18 | 18 |
|
19 | | - <h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 7 October 2013</h2> |
| 19 | + <h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 9 October 2013</h2> |
20 | 20 |
|
21 | 21 | <dl> |
22 | 22 |
|
@@ -83,7 +83,7 @@ <h2 class="no-num no-toc" id="sotd">Status of This Document</h2> |
83 | 83 | can be found in the <a href="http://www.w3.org/TR/">W3C technical reports |
84 | 84 | index at http://www.w3.org/TR/.</a></em> |
85 | 85 |
|
86 | | -<p>This is the 7 October 2013 Editor's Draft of CSSOM View. Please send |
| 86 | +<p>This is the 9 October 2013 Editor's Draft of CSSOM View. Please send |
87 | 87 | comments to |
88 | 88 | <a href="mailto:www-style@w3.org?subject=%5Bcssom-view%5D%20">www-style@w3.org</a> |
89 | 89 | (<a href="http://lists.w3.org/Archives/Public/www-style/">archived</a>) |
@@ -530,6 +530,7 @@ <h2 id="extensions-to-the-window-interface"><span class="secno">5 </span>Extensi |
530 | 530 | readonly attribute double <a href="#dom-window-screeny" title="dom-Window-screenY">screenY</a>; |
531 | 531 | readonly attribute double <a href="#dom-window-outerwidth" title="dom-Window-outerWidth">outerWidth</a>; |
532 | 532 | readonly attribute double <a href="#dom-window-outerheight" title="dom-Window-outerHeight">outerHeight</a>; |
| 533 | + readonly attribute double <a href="#dom-window-devicepixelratio" title="dom-Window-devicePixelRatio">devicePixelRatio</a>; |
533 | 534 | };</pre> |
534 | 535 |
|
535 | 536 | <p>When the <dfn id="dom-window-matchmedia" title="dom-Window-matchMedia"><code>matchMedia(<var>query</var>)</code></dfn> method is invoked these steps must be run:</p> |
@@ -705,6 +706,10 @@ <h2 id="extensions-to-the-window-interface"><span class="secno">5 </span>Extensi |
705 | 706 | client window. If there is no client window this |
706 | 707 | attribute must return zero. <!--fingerprint--></p> |
707 | 708 |
|
| 709 | +<p>The <dfn id="dom-window-devicepixelratio" title="dom-Window-devicePixelRatio"><code>devicePixelRatio</code></dfn> attribute must return the result of dividing the size of a CSS pixel at 100% |
| 710 | +zoom by the size of a device pixel of the output device, in one dimension (vertical or horizontal). If the device pixel is not square, then the smaller of the |
| 711 | +vertical or horizontal size of the smallest bounding box of the device pixel must be used. |
| 712 | + |
708 | 713 |
|
709 | 714 | <h4 id="the-features-argument-to-the-open()-method"><span class="secno">5.1 </span>The <var>features</var> argument to the <code title="">open()</code> method</h4> |
710 | 715 |
|
@@ -1069,8 +1074,7 @@ <h2 id="extensions-to-the-element-interface"><span class="secno">7 </span>Extens |
1069 | 1074 | <li><p>If the element is the root element return the value of |
1070 | 1075 | <code title="dom-Window-scrollY"><a href="#dom-window-scrolly">scrollY</a></code>.</li> |
1071 | 1076 | <li><p>If the element is <a href="#the-html-body-element">the HTML <code title="">body</code> element</a>, |
1072 | | - the <code class="external" data-anolis-spec="dom"><a href="http://dom.spec.whatwg.org/#document">Document</a></code> is in <a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#concept-document-quirks" title="concept-document-quirks">quirks mode</a>, and the element |
1073 | | - does not have any overflow, return the value of |
| 1077 | + the <code class="external" data-anolis-spec="dom"><a href="http://dom.spec.whatwg.org/#document">Document</a></code> is in <a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#concept-document-quirks" title="concept-document-quirks">quirks mode</a>, return the value of |
1074 | 1078 | <code title="dom-Window-scrollY"><a href="#dom-window-scrolly">scrollY</a></code>.</li> |
1075 | 1079 | <li><p>Return the y-coordinate of the <a href="#scrolling-area">scrolling area</a> at the |
1076 | 1080 | alignment point with the top of the <a href="#padding-edge">padding edge</a> of the |
@@ -1107,8 +1111,7 @@ <h2 id="extensions-to-the-element-interface"><span class="secno">7 </span>Extens |
1107 | 1111 | <li><p>If the element is the root element return the value of |
1108 | 1112 | <code title="dom-Window-scrollX"><a href="#dom-window-scrollx">scrollX</a></code>.</li> |
1109 | 1113 | <li><p>If the element is <a href="#the-html-body-element">the HTML <code title="">body</code> element</a>, |
1110 | | - the <code class="external" data-anolis-spec="dom"><a href="http://dom.spec.whatwg.org/#document">Document</a></code> is in <a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#concept-document-quirks" title="concept-document-quirks">quirks mode</a>, and the element |
1111 | | - does not have any overflow, return the value of |
| 1114 | + the <code class="external" data-anolis-spec="dom"><a href="http://dom.spec.whatwg.org/#document">Document</a></code> is in <a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#concept-document-quirks" title="concept-document-quirks">quirks mode</a>, return the value of |
1112 | 1115 | <code title="dom-Window-scrollX"><a href="#dom-window-scrollx">scrollX</a></code>.</li> |
1113 | 1116 | <li><p>Return the x-coordinate of the <a href="#scrolling-area">scrolling area</a> at the |
1114 | 1117 | alignment point with the left of the <a href="#padding-edge">padding edge</a> of the |
|
0 commit comments