[css-overflow-4] Add `auto` value for box edge in `overflow-clip-margin-*`
Nobody has claimed this yet.
- Dominant language
- Bikeshed
- Stars
- 4.9k
- Forks
- 816
- PR merge metrics
- PR metrics pending
Description
The spec. defines that <visual-box> in `overflow-clip-margin-* resolves differently regarding replaced vs. non-replaced elements when omitted.
To make this circumstance explicit, we should introduce an auto value for it, especially if we want to allow multiple values in the shorthands. With an explicit auto value, one could write content-box 2em / auto 4em to distinguish it from content-box 2em / 4em if we decide that the latter means to set content-box for all four sides. See also https://github.com/w3c/csswg-drafts/issues/8381#issuecomment-1516957616.
Sebastian
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
Review the CSS Overflow 4 specification text for overflow-clip-margin-* and the discussion in issue 8381, especially the referenced comment. Clarify the intended auto value and shorthand interpretation with the CSS Working Group; done means the specification reflects an agreed resolution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100