Skip to content

Conversation

@SebastianZ
Copy link
Contributor

In #12738 I missed to define what happens when both border-area and text are defined for background-clip, as @Loirooriol immediately pointed out.

The minutes of the call suggest the consensus was to do a union. So I added this note.

Sebastian

</dl>

If both ''background-clip/border-area'' and ''background-clip/text'' are specified,
the background is painted as a union of the two areas.
Copy link
Contributor

Choose a reason for hiding this comment

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

To follow the existing pattern

Suggested change
the background is painted as a union of the two areas.
the background is painted within (clipped to) the union of these two areas.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Changed. Thanks!

@SebastianZ SebastianZ force-pushed the css-backgrounds-4-interaction-border-area-text branch from 37742fb to 7f97428 Compare September 5, 2025 18:48
@SebastianZ SebastianZ merged commit 0e4e9a7 into w3c:main Sep 5, 2025
1 check passed
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.

2 participants