[css-overflow-3] Overflow Viewport Propagation does not seem accurate
Nobody has claimed this yet.
- Dominant language
- Bikeshed
- Stars
- 4.9k
- Forks
- 816
- PR merge metrics
- PR metrics pending
Description
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?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the CSS Overflow Level 3 overflow-propagation section linked in the issue, then compare its wording about the root element, viewport, scrollport, and root scroll container. Clarify the terminology and propagation target in the specification, with the section text itself providing the completion check.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100