Skip to content

Commit eadb990

Browse files
committed
[cssom-view-1] Name the algorithm for determining devicePixelRatio
...so that it can be called in non-Window contexts, by other specs
1 parent 9d240e4 commit eadb990

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cssom-view-1/Overview.bs

+1-1
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ The <dfn attribute for=Window>outerHeight</dfn> attribute must return the height
629629
client window. If there is no client window this
630630
attribute must return zero. <!--fingerprint-->
631631

632-
The <dfn attribute for=Window caniuse=devicepixelratio>devicePixelRatio</dfn> attribute must return the result of the following algorithm:
632+
The <dfn attribute for=Window caniuse=devicepixelratio>devicePixelRatio</dfn> attribute must return the result of the following <dfn export>determine the device pixel ratio</dfn> algorithm:
633633

634634
1. If there is no output device, return 1 and abort these steps.
635635
1. Let <var>CSS pixel size</var> be the size of a <a lt=px value>CSS pixel</a> at the current <a>page zoom</a> scale factor and at a <a>pinch zoom</a> scale factor of 1.0.

0 commit comments

Comments
 (0)