[csswg-drafts] [css-backgrounds-4] The `background-clip: text` needs to contain `text-emphasis` (#10805)

yisibl has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-backgrounds-4] The `background-clip: text` needs to contain `text-emphasis` ==
At #900 we've already decided that `text-decoration` is considered part of the text, so it will be clipped as well.

`text-emphasis` should also be treated the same.

There are currently some issues with both Safari and Firefox, see examples: 

https://codepen.io/yisi/pen/zYVJqyR?editors=0100

## Safari TP 202
![image](https://github.com/user-attachments/assets/93d04714-4727-4b0d-801b-0bc83c87d3e8)

## Firefox 
![image](https://github.com/user-attachments/assets/85364bbf-203b-4ba4-af47-ac1ab0fde11c)

cc @smfr @nt1m 


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10805 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 30 August 2024 12:27:59 UTC