Skip to content

Support background-clip: border-area #1397

@CGQAQ

Description

@CGQAQ

Specification title

background-clip: border-area

Specification or proposal URL (if available)

https://drafts.csswg.org/css-backgrounds-4/#valdef-background-clip-border-area

Explainer URL (if available)

No response

Proposal author(s)

No response

MDN URL

https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/background-clip

Caniuse.com URL

https://caniuse.com/wf-background-clip-border-area

Bugzilla URL

No response

Mozillians who can provide input

No response

WebKit standards-position

WebKit already shipped it here

Other information

Implements the border-area value for the CSS background-clip property, as defined in CSS Backgrounds Level 4. background-clip: border-area clips an element's background to the area painted by its border strokes, taking border-width and border-style into account while ignoring transparency from border-color. This enables gradient borders without border-image. WebKit already ships this feature; this implementation brings Chromium to parity.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

Status

Needs proposed position

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions