Skip to content

CSS background-clip #517

Closed
Closed
@jsnkuhn

Description

@jsnkuhn

Description

mdn:

The background-clip CSS property sets whether an element's background extends underneath its border box, padding box, or content box.

Most existing inconsistencies seem to revolve around the text value.

The original webkit blog post for adding -webkit-background-clip: text;: https://webkit.org/blog/164/background-clip-text/

Specification

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

Open Issues

No response

Tests

https://wpt.fyi/results/css?label=master&label=experimental&aligned&q=background%20clip

Current Implementations

  • Blink
  • Gecko
  • WebKit

Standards Positions

No response

Browser bug reports

firefox bugs:
https://bugzilla.mozilla.org/buglist.cgi?quicksearch=background-clip&list_id=16739518

[meta] background-clip:text issues
https://bugzilla.mozilla.org/show_bug.cgi?id=1656784

https://bugzilla.mozilla.org/show_bug.cgi?id=1481498

chrome:
Issue 1339290: Make -webkit-background-clip an alias
https://bugs.chromium.org/p/chromium/issues/detail?id=1339290&q=background-clip%20text&can=2

New chrome bug around how background-clip: text; works with position: https://bugs.chromium.org/p/chromium/issues/detail?id=1500148

Developer discussions

No response

Polls & Surveys

No response

Existing Usage

No response

Workarounds

No response

Accessibility Impact

No response

Privacy Impact

No response

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions