Skip to content

Conversation

SebastianZ
Copy link
Contributor

This adjusts the syntax of background-clip to accept a combination of border-area and text, as it was resolved on in #10696 (comment).

Closes #10696

Sebastian

@SebastianZ SebastianZ merged commit 79a4066 into w3c:main Sep 5, 2025
1 check passed
@@ -326,7 +326,7 @@ Painting Area: the 'background-clip' property</h3>
The syntax of the property is given with

<pre class=prod>
<dfn>&lt;bg-clip></dfn> = <<visual-box>> | border-area| text
<dfn>&lt;bg-clip></dfn> = <<visual-box>> | [ border-area || text ]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The spec needs to explain what happens when 2 values are provided. Is the background clipped to the intersection? Union?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the hint! See #12739.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[css-backgrounds-4] Can you chain border-area and text in background-clip?
2 participants