[csswg-drafts] [css-backgrounds-4] Interaction of background-clip: text and text-decoration-color (#7394)

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

== [css-backgrounds-4] Interaction of background-clip: text and text-decoration-color ==
[css-backgrounds-4](https://drafts.csswg.org/css-backgrounds-4/#valdef-background-clip-text ) adds `background-clip: text` and in https://github.com/w3c/csswg-drafts/issues/900 we resolved that text decorations should be included as part of the text shape.

However, consider:

```
        .background-clip {
            text-decoration-line: underline;
            text-decoration-color: red;
            background-clip: text;
            color: transparent;
            background-image: linear-gradient(green, blue);
        }
```

Here the author has explicitly asked for a red underline. Should this be ignored, and the underline just rendered as part of the `background-clip`? Or should a red underline be drawn on top of the `background-clip` content?

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


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

Received on Monday, 20 June 2022 19:16:29 UTC