[css-masking] "object bounding box" in SVG is the content-box, but UAs use the border box on CSS boxes
Nobody has claimed this yet.
- Dominant language
- Bikeshed
- Stars
- 4.9k
- Forks
- 816
- PR merge metrics
- PR metrics pending
Description
For transform-box and the geometry box argument to clip-path, fill-box maps to object bounding box for SVG elements. For CSS boxes, fill-box maps to the content box, which makes me think that "object bounding box" should map to the content box. However, browsers seem to map to the border box.
So we have ambiguity about whether "object bounding box" for CSS boxes in general should be the 'fill-box or content-box.
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
Read the linked CSS Transforms and CSS Masking definitions, then compare how they describe “object bounding box,” “fill-box,” and “content-box” for CSS boxes. Check the reported browser behavior and determine the normative clarification needed so the specification unambiguously defines the mapping.
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
- 35/100