Bug 1531609 Comment 24 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

So if I understand the spec[1] correctly, the `overflow` value on `<body>` is supposed to be propagated to the viewport in this case. That is, you should see a large blue rectangle that is clipped by the viewport on the right/bottom side (with no scrollbars, since it should behave as `hidden`). It should not be clipped by `<body>` because the spec says:
> The element from which the value is propagated must then have a used `overflow` value of `visible`.

[1]
https://drafts.csswg.org/css-overflow/#overflow-propagation
So if I understand the spec[1] correctly, the `overflow` value on `<body>` is supposed to be propagated to the viewport in this case. That is, you should see a large blue rectangle that is clipped by the viewport on the right/bottom side (with no scrollbars, since it should behave as `hidden`). It should not be clipped by `<body>` (like we currently do) because the spec says:
> The element from which the value is propagated must then have a used `overflow` value of `visible`.

[1]
https://drafts.csswg.org/css-overflow/#overflow-propagation

Back to Bug 1531609 Comment 24