Tue, 03 Sep 2013 14:18:05 +0200
[cssom-view] Give unit explicitly for Screen. <http://www.w3.org/mid/51D62D7A.3010701@oupeng.com>
cssom-view/Overview.html | file | annotate | diff | comparison | revisions | |
cssom-view/Overview.src.html | file | annotate | diff | comparison | revisions |
1.1 --- a/cssom-view/Overview.html Tue Sep 03 13:56:11 2013 +0200 1.2 +++ b/cssom-view/Overview.html Tue Sep 03 14:18:05 2013 +0200 1.3 @@ -421,7 +421,7 @@ 1.4 <h3 id="css-pixels"><span class="secno">3.1 </span>CSS pixels</h3> 1.5 1.6 <p>All coordinates and dimensions for the APIs defined in this 1.7 -specification are in CSS pixels. <!--<span data-anolis-ref>CSS</span>--> 1.8 +specification are in CSS pixels, unless otherwise specified. <!--<span data-anolis-ref>CSS</span>--> 1.9 1.10 <p class="note">This does not apply to e.g. 1.11 <code title="dom-Window-matchMedia"><a href="#dom-window-matchmedia">matchMedia()</a></code> as the units 1.12 @@ -755,14 +755,14 @@ 1.13 };</pre> 1.14 1.15 <p>The <dfn id="dom-screen-availwidth" title="dom-Screen-availWidth"><code>availWidth</code></dfn> attribute must return the available width of the rendering surface of the output 1.16 -device. <!--fingerprint--></p> 1.17 +device, in CSS pixels. <!--fingerprint--></p> 1.18 1.19 <p>The <dfn id="dom-screen-availheight" title="dom-Screen-availHeight"><code>availHeight</code></dfn> attribute must return the available height of the rendering surface of the output 1.20 -device. <!--fingerprint--></p> 1.21 +device, in CSS pixels. <!--fingerprint--></p> 1.22 1.23 -<p>The <dfn id="dom-screen-width" title="dom-Screen-width"><code>width</code></dfn> attribute must return the width of the output device. <!--fingerprint--></p> 1.24 +<p>The <dfn id="dom-screen-width" title="dom-Screen-width"><code>width</code></dfn> attribute must return the width of the output device, in CSS pixels. <!--fingerprint--></p> 1.25 1.26 -<p>The <dfn id="dom-screen-height" title="dom-Screen-height"><code>height</code></dfn> attribute must return the height of the output device. <!--fingerprint--></p> 1.27 +<p>The <dfn id="dom-screen-height" title="dom-Screen-height"><code>height</code></dfn> attribute must return the height of the output device, in CSS pixels. <!--fingerprint--></p> 1.28 1.29 <p>The <dfn id="dom-screen-colordepth" title="dom-Screen-colorDepth"><code>colorDepth</code></dfn> attribute must return 24.</p> 1.30 1.31 @@ -1648,6 +1648,7 @@ 1.32 Elliott Sprehn, 1.33 Garrett Smith, 1.34 Hallvord R. M. Steen, 1.35 +Kang-Hao Lu, 1.36 Leif Arne Storset, 1.37 Luiz Agostini, 1.38 Maciej Stachowiak,
2.1 --- a/cssom-view/Overview.src.html Tue Sep 03 13:56:11 2013 +0200 2.2 +++ b/cssom-view/Overview.src.html Tue Sep 03 14:18:05 2013 +0200 2.3 @@ -383,7 +383,7 @@ 2.4 <h3>CSS pixels</h3> 2.5 2.6 <p>All coordinates and dimensions for the APIs defined in this 2.7 -specification are in CSS pixels. <!--<span data-anolis-ref>CSS</span>--> 2.8 +specification are in CSS pixels, unless otherwise specified. <!--<span data-anolis-ref>CSS</span>--> 2.9 2.10 <p class="note">This does not apply to e.g. 2.11 <code title=dom-Window-matchMedia>matchMedia()</code> as the units 2.12 @@ -717,14 +717,14 @@ 2.13 };</pre> 2.14 2.15 <p>The <dfn title=dom-Screen-availWidth><code>availWidth</code></dfn> attribute must return the available width of the rendering surface of the output 2.16 -device. <!--fingerprint--></p> 2.17 +device, in CSS pixels. <!--fingerprint--></p> 2.18 2.19 <p>The <dfn title=dom-Screen-availHeight><code>availHeight</code></dfn> attribute must return the available height of the rendering surface of the output 2.20 -device. <!--fingerprint--></p> 2.21 +device, in CSS pixels. <!--fingerprint--></p> 2.22 2.23 -<p>The <dfn title=dom-Screen-width><code>width</code></dfn> attribute must return the width of the output device. <!--fingerprint--></p> 2.24 +<p>The <dfn title=dom-Screen-width><code>width</code></dfn> attribute must return the width of the output device, in CSS pixels. <!--fingerprint--></p> 2.25 2.26 -<p>The <dfn title=dom-Screen-height><code>height</code></dfn> attribute must return the height of the output device. <!--fingerprint--></p> 2.27 +<p>The <dfn title=dom-Screen-height><code>height</code></dfn> attribute must return the height of the output device, in CSS pixels. <!--fingerprint--></p> 2.28 2.29 <p>The <dfn title=dom-Screen-colorDepth><code>colorDepth</code></dfn> attribute must return 24.</p> 2.30 2.31 @@ -1590,6 +1590,7 @@ 2.32 Elliott Sprehn, 2.33 Garrett Smith, 2.34 Hallvord R. M. Steen, 2.35 +Kang-Hao Lu, 2.36 Leif Arne Storset, 2.37 Luiz Agostini, 2.38 Maciej Stachowiak,