File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -375,13 +375,14 @@ Overflow Value Propagation</h3>
375375
376376 UAs must apply the 'overflow' property
377377 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'' .
385386
386387 If this application would result in the viewport having ''visible'' overflow,
387388 the UA must instead treat the viewport as having ''overflow/auto'' overflow.
You can’t perform that action at this time.
0 commit comments