File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -375,13 +375,14 @@ Overflow Value Propagation</h3>
375
375
376
376
UAs must apply the 'overflow' property
377
377
set on the root element to the viewport.
378
- For HTML UAs,
379
- if this would result in the viewport having ''visible'' overflow,
380
- the UA must instead apply the 'overflow' property
381
- set on the <{body}> element to the viewport.
382
- In either case,
383
- the used value of 'overflow' for the element from which the value is propagated
384
- must evaluate to ''visible'' .
378
+ When the root element is an [[!HTML]] <{html}> element
379
+ (including <a href="https://html.spec.whatwg.org/multipage/introduction.html#html-vs-xhtml">XML syntax for HTML</a> ),
380
+ and that element has a <{body}> element as a child,
381
+ user agents must instead apply the 'overflow' property
382
+ from the first such child element to the viewport,
383
+ if the value on the root element is ''overflow/visible'' .
384
+ The ''overflow/visible'' value when used for the viewport must be interpreted as ''overflow/auto'' .
385
+ The element from which the value is propagated must have a used value for 'overflow' of ''overflow/visible'' .
385
386
386
387
If this application would result in the viewport having ''visible'' overflow,
387
388
the UA must instead treat the viewport as having ''overflow/auto'' overflow.
You can’t perform that action at this time.
0 commit comments