https://drafts.csswg.org/css-overflow/#overflow-propagation says that some overflow properties should be propagated to the viewport from the html or body element:
However this happens regardless of the display value of the document element or the body. For example, the following examples show scrollbars:
data:text/html,<html style="display: none"><body style="overflow: scroll">
data:text/html,<html style="display: none; overflow: scroll">
This is the only case where Gecko needs to resolve a style in a display: none
subtree for rendering (apart of getComputedStyle), and I find it somewhat silly.
Seems enough of an edge-case that could probably be changed. I wonder if there would be interest from other vendors in doing this change?
cc @lilles
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.3