[css-shapes] Clarify which `<basic-shape>` are valid in `shape-*`
Nobody has claimed this yet.
- Dominant language
- Bikeshed
- Stars
- 4.9k
- Forks
- 816
- PR merge metrics
- PR metrics pending
Description
shape-outside (CSS Shapes 1) and shape-inside (CSS Shapes 2) are defined with this prose:
<basic-shape>: The shape is computed based on the values of one ofinset(),circle(),ellipse()orpolygon().
It is not clear to me if xywh(), rect(), path(), should be invalid.
In SVG 2, <basic-shape> is even further restricted in shape-inside and shape-substract, but I assume these are superseded by CSS Shapes.
This was previously reported in the multi-faceted issue #7390.
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 CSS Shapes 1 and CSS Shapes 2 definitions linked in the issue, then compare their treatment with the SVG 2 references and the discussion in issue #7390. Determine which functions are valid for shape-* and update the relevant specification prose so the allowed values are explicit.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- documentation, web-dev
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100