Skip to content

Commit d04d354

Browse files
author
Simon Pieters
committed
[cssom-view] Make devicePixelRatio use vertical pixel size. Fixes https://www.w3.org/Bugs/Public/show_bug.cgi?id=26756
1 parent 11c5bac commit d04d354

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

cssom-view/Overview.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
<h1>CSSOM View Module</h1>
1818

19-
<h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 12 September 2014</h2>
19+
<h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 15 September 2014</h2>
2020

2121
<dl>
2222

@@ -83,7 +83,7 @@ <h2 class="no-num no-toc" id="sotd">Status of This Document</h2>
8383
can be found in the <a href="http://www.w3.org/TR/">W3C technical reports
8484
index at http://www.w3.org/TR/.</a></em>
8585

86-
<p>This is the 12 September 2014 Editor's Draft of CSSOM View. Please send
86+
<p>This is the 15 September 2014 Editor's Draft of CSSOM View. Please send
8787
comments to
8888
<a href="mailto:www-style@w3.org?subject=%5Bcssom-view%5D%20">www-style@w3.org</a>
8989
(<a href="http://lists.w3.org/Archives/Public/www-style/">archived</a>)
@@ -744,8 +744,7 @@ <h2 id="extensions-to-the-window-interface"><span class="secno">5 </span>Extensi
744744
<li><p>If there is no output device, return 1 and abort these steps.
745745
<li><p>Let <var>CSS pixel size</var> be the size of a CSS pixel at the current <a href="#page-zoom">page zoom</a> scale factor and at a <a href="#pinch-zoom">pinch zoom</a> scale
746746
factor of 1.0.
747-
<li><p>Let <var>device pixel size</var> be the size of a device pixel of the output device, in one dimension (vertical or horizontal). If the device pixel is
748-
not square, then use the smaller of the vertical or horizontal size of the smallest bounding box of the device pixel.
747+
<li><p>Let <var>device pixel size</var> be the vertical size of a device pixel of the output device.
749748
<li><p>Return the result of dividing <var>CSS pixel size</var> by <var>device pixel size</var>.
750749
</ol>
751750

cssom-view/Overview.src.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -700,8 +700,7 @@ <h2>Extensions to the <code title>Window</code> Interface</h2>
700700
<li><p>If there is no output device, return 1 and abort these steps.
701701
<li><p>Let <var>CSS pixel size</var> be the size of a CSS pixel at the current <span>page zoom</span> scale factor and at a <span>pinch zoom</span> scale
702702
factor of 1.0.
703-
<li><p>Let <var>device pixel size</var> be the size of a device pixel of the output device, in one dimension (vertical or horizontal). If the device pixel is
704-
not square, then use the smaller of the vertical or horizontal size of the smallest bounding box of the device pixel.
703+
<li><p>Let <var>device pixel size</var> be the vertical size of a device pixel of the output device.
705704
<li><p>Return the result of dividing <var>CSS pixel size</var> by <var>device pixel size</var>.
706705
</ol>
707706

0 commit comments

Comments
 (0)