[css-borders-4] Move `<image-1D>` to `border-image-source`
Nobody has claimed this yet.
- Dominant language
- Bikeshed
- Stars
- 4.9k
- Forks
- 816
- PR merge metrics
- PR metrics pending
Description
At the moment, <image-1D> and with it the stripes() function are part of border-color. Though that always felt a bit weird to me because author's are familiar with -color properties defining colors, not images.
So I mentioned at some point that we should rather add this functionality to border-image-source instead.
This probably requires being able to turn off the image slicing, see #9734.
If we define that slicing doesn't have any effect on <image-1D> values, one could simply define stripes like that:
border-image: stripes(red, yellow, green, blue);
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
Start with the CSS Borders 4 definitions for border-color and border-image-source, then read the linked issue #9734 about disabling image slicing. Compare the proposed stripes() example with the current specification structure; done means the placement and slicing behavior are resolved in the draft with matching normative wording and examples.
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