File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ urlPrefix: https://html.spec.whatwg.org/multipage/webappapis.html; spec: html;
50
50
text: width; url: #dom-img-width;
51
51
text: height; url: #dom-img-height;
52
52
urlPrefix: https://drafts.csswg.org/cssom-view/; spec: CSSOM-VIEW;
53
- type: dfn; text: viewport; url: viewport;
53
+ type: dfn; text: visual viewport; url: visual- viewport;
54
54
</pre>
55
55
56
56
Introduction {#sec-intro}
@@ -197,8 +197,8 @@ In order to <dfn export>potentially add a {{LargestContentfulPaint}} entry</dfn>
197
197
1. Let |height| be |intersectionRect|'s {{DOMRectReadOnly/height}} .
198
198
1. Let |size| be <code> |width| * |height|</code> .
199
199
1. Let |root| be |document|'s <a for="Document">browsing context</a>' s <a>top-level browsing context</a> 's <a>active document</a> .
200
- 1. Let |rootWidth| be |root|'s <a>viewport</a>' s width, excluding any scrollbars.
201
- 1. Let |rootHeight| be |root|'s <a>viewport</a>' s height, excluding any scrollbars.
200
+ 1. Let |rootWidth| be |root|'s <a>visual viewport</a>' s width, excluding any scrollbars.
201
+ 1. Let |rootHeight| be |root|'s <a>visual viewport</a>' s height, excluding any scrollbars.
202
202
1. If |size| is equal to |rootWidth| times |rootHeight|, return.
203
203
1. If |imageRequest| is not null, run the following steps to adjust for image position and upscaling:
204
204
1. Let |concreteDimensions| be |imageRequest|'s [=concrete object size=] within |element|.
You can’t perform that action at this time.
0 commit comments