[css-overflow-3] Scrollable Overflow contributions of zero height/width elements

Open
#4,791 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
css
Domain
web-dev

Research direction

Read the CSS Overflow Level 3 scrollable overflow rules and compare the reported behavior for zero-width and zero-height elements across implementations. Determine whether the block-axis versus inline-axis difference is required for web compatibility, then clarify the specification accordingly if it is.

Written by the indexing model from the issue text.

Description

Closed Accepted by CSSWG Resolution Commenter Response Pending css-overflow-3 Needs Testcase (WPT)

It appears that, at least in some implementations, zero-width elements do not contribute to the horizontal overflow, but zero-height elements do contribute to the vertical overflow.

So overall it seems that zero-sized things contribute in the block axis but not the inline axis.

This is kinda weird, but if it's required for Web-compat we should spec it.

Dominant language
Bikeshed
Stars
4.9k
Forks
816
Avg merge
2d 18h
Merged PRs (30d)
24

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from w3c/csswg-drafts

All issues in w3c/csswg-drafts

Similar issues

More Web Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.