Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[css-overflow-3] Overflow Viewport Propagation does not seem accurate #9249

Open
simevidas opened this issue Aug 28, 2023 · 0 comments
Open
Labels
css-overflow-3 Current Work

Comments

@simevidas
Copy link
Contributor

Spec section: https://drafts.csswg.org/css-overflow-3/#overflow-propagation

This spec text confuses me:

UAs must apply the overflow-* values set on the root element to the viewport

As far as I understand, the viewport is not the root scroll container; the viewport is merely the scrollport of the root scroll container. So I don’t understand why something like html { overflow: scroll } should propagate to the viewport. Should it not propagate to the root scroll container instead? The overflow property applies to block containers, and the viewport is not a block container. The root scroll container is a block container, I assume.

Could you clarify this?

@fantasai fantasai added the css-overflow-3 Current Work label Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
css-overflow-3 Current Work
Projects
None yet
Development

No branches or pull requests

2 participants