[csswg-drafts] Add some sort of z-index value to text-decoration `[css-text-decoration-4]` (#6235)

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

== Add some sort of z-index value to text-decoration `[css-text-decoration-4]` ==
Recently I played around with some new text-decoration properties like `text-decoration-thickness`. I noticed that you cannot control whether the line is placed *on top of* the text, or *behind* the text. This is relevant with larger values for `text-decoration-thickness`, like `1em` in combination with `text-decoration-line` values of `line-through` and `overline`. 

[I made an example that illustrates the issue](https://codepen.io/vasilisvg/pen/PoWxVzx).

In this example, in the second and third paragraphs the text-decorations are placed on top of the text, which makes it unreadable. A property to place these text-decorations behind the text would open up a new trove of creative possibilities.

I couldn’t find any reference to this problem [in the spec](https://drafts.csswg.org/css-text-decor-4/#underline-offset), or in the github issues, hence this issue. 


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


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

Received on Thursday, 22 April 2021 10:35:39 UTC