[css-contain] The interaction between containment on the HTML element, and overflow propagation is insufficiently specified #7184
Labels
Closed Accepted as Editorial
css-overflow-3
Current Work
Testing Unnecessary
Memory aid - issue doesn't require tests
The note at https://www.w3.org/TR/css-overflow-3/#overflow-propagation says "Using containment disables this special handling of the HTML body element."
However, it doesn't say which element
containment
is being applied to in this scenario; it might be thebody
or thehtml
.So the behavior of this scenario isn't very clear:
Does
overflow:hidden
propagation from the body to the viewport, or doescontainment
on thehtml
prevent that propagation?Test case at https://jsfiddle.net/qj9v0h2t/
The text was updated successfully, but these errors were encountered: