Open Bug 2066346 Opened 2 months ago Updated 2 months ago

Only geometry of the text should effect background-clip: text

Categories

(Core :: Web Painting, defect)

Firefox 154
defect

Tracking

()

UNCONFIRMED

People

(Reporter: cgqaq, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.0.0 Safari/537.36

Steps to reproduce:

background-clip: text in the spec is defined as such:

The background is painted within (clipped to) the intersection of the border box and the geometry of the text including any decorations and emphasis marks in the element and its in-flow and floated descendants. The text color has no effect on the painting of the background.

The spec only says 'the border box and the geometry of the text including any decorations and emphasis marks in the element and its in-flow and floated descendants' will affect the actual effect

And the spec side clarified it
https://github.com/w3c/csswg-drafts/issues/14373#issuecomment-5383837543

The Bugbug bot thinks this bug should belong to the 'Core::Web Painting' component, but is not confident enough to move the bug to that component.

Component: Untriaged → General
Component: General → Web Painting
Product: Firefox → Core

The severity field is not set for this bug.
:tnikkel, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(tnikkel)
Severity: -- → S3
Flags: needinfo?(tnikkel)
You need to log in before you can comment on or make changes to this bug.