File tree 1 file changed +6
-1
lines changed 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -515,9 +515,14 @@ The <dfn export>unscaled</dfn> value of a CSS length relative to an element is t
515
515
and {{IntersectionObserver}} APIs must return rects with [=scaled=]
516
516
lengths.
517
517
518
- All other APIs related to element geometries must return [=unscaled=] lengths.
518
+ All other APIs related to element geometries must return [=unscaled=] lengths
519
+ (except as detailed below).
519
520
This is explained in detail in [[cssom-view#extensions-to-the-htmlelement-interface]] .
520
521
522
+ In cases where properties (such as {{Element/scrollTop}} ) are propagated to the viewport,
523
+ APIs for these lengths must be in viewport units,
524
+ and not be divided by the zoom of the element.
525
+
521
526
The {{Window/devicePixelRatio}} of a frame is multiplied by the [=effective zoom=] inherited by its parent frame.
522
527
</h3>
523
528
You can’t perform that action at this time.
0 commit comments