You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>The <dfnid="dom-window-devicepixelratio" title="dom-Window-devicePixelRatio"><code>devicePixelRatio</code></dfn> attribute must return the result of the following algorithm:
716
716
717
717
<ol>
718
+
<li><p>If there is no output device, return 1 and abort these steps.
718
719
<li><p>Let <var>CSS pixel size</var> be the size of a CSS pixel at the current <ahref="#page-zoom">page zoom</a> scale factor and at a <ahref="#pinch-zoom">pinch zoom</a> scale
719
720
factor of 1.0.
720
721
<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
Copy file name to clipboardExpand all lines: cssom-view/Overview.src.html
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -672,6 +672,7 @@ <h2>Extensions to the <code title>Window</code> Interface</h2>
672
672
<p>The <dfntitle=dom-Window-devicePixelRatio><code>devicePixelRatio</code></dfn> attribute must return the result of the following algorithm:
673
673
674
674
<ol>
675
+
<li><p>If there is no output device, return 1 and abort these steps.
675
676
<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
676
677
factor of 1.0.
677
678
<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
0 commit comments