Skip to content

Commit aaf5642

Browse files
committed
[css-overflow-3] Reword the viewport-overflow-propagation slightly to make more sense.
1 parent 3a57614 commit aaf5642

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

css-overflow-3/Overview.bs

+10-7
Original file line numberDiff line numberDiff line change
@@ -419,13 +419,16 @@ Overflow Value Computation and Propagation</h3>
419419

420420
UAs must apply the 'overflow' property
421421
set on the root element to the viewport.
422-
HTML UAs must instead apply the ‘overflow’ property
423-
from the <{body}> element to the viewport
424-
if the value on the root element is ''visible''.
425-
The ''visible'' value when used for the viewport
426-
must be interpreted as ''overflow/auto''.
427-
The element from which the value is propagated
428-
must have a used value for 'overflow' of ''visible''.
422+
For HTML UAs,
423+
if this would result in the viewport having ''visible'' overflow,
424+
the UA must instead apply the 'overflow' property
425+
set on the <{body}> element to the viewport.
426+
In either case,
427+
the used value of 'overflow' for the element from which the value is propagated
428+
must evaluate to ''visible''.
429+
430+
If this application would result in the viewport having ''visible'' overflow,
431+
the UA must instead treat the viewport as having ''overflow/auto'' overflow.
429432

430433
<h3 id="scrollbar-layout">
431434
Scrollbars and Layout</h3>

0 commit comments

Comments
 (0)