[css-backgrounds] background-clip: border-area
Categories
(Core :: Layout: Images, Video, and HTML Frames, defect)
Tracking
()
| Size Estimate | M |
People
(Reporter: mozilla-apprentice, Unassigned)
References
(Depends on 1 open bug, Blocks 5 open bugs)
Details
(4 keywords, Whiteboard: [platform-feature])
User Story
web-feature: background-clip-border-area
A resolution was made for csswg-drafts/#9456.
[css-backgrounds] background-clip: border-area
- RESOLVED: add background-clip: border-area
Comment 1•2 years ago
|
||
fantasai mentioned in IRC as a simple definition of the clipping area here:
fantasai If you paint
background: url(red-swatch) border-box, url(blue-swatch) padding-box, the part that's red is the part we're proposing to clip to
("red-swatch"/"blue-swatch" here are hand-wavy placeholders representing images here, of course)
Comment 2•1 year ago
|
||
See also https://github.com/w3c/csswg-drafts/issues/11167#issuecomment-2474360495 for a minor update/clarification to how this works in the background shorthand property.
Updated•9 months ago
|
Updated•9 months ago
|
Comment 3•8 months ago
|
||
[assessing this as "Medium" size-estimate; a lot of the work is graphics, but it's just a clip so we're thinking not too bad.]
@Emilio I’m glad to see that Firefox has made progress on background-clip: border-area (bug 2045230)—this is exciting news.
Just as gradient borders were added in Nova’s new UI, they’re now everywhere, and border-area makes implementing this kind of UI much simpler and more user-friendly.
Jason and I have already shipped this feature in Chrome 150, and we hope Firefox can catch up.
Comment 5•17 days ago
|
||
is https://bugzilla.mozilla.org/show_bug.cgi?id=2003757 a duplicate with separate tracking ?
Updated•14 days ago
|
Description
•