[csswg-drafts] [css-text-decor-4] Disallow negative spread values on text-shadow (#6971)

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

== [css-text-decor-4] Disallow negative spread values on text-shadow ==
[This thread](http://lists.w3.org/Archives/Public/www-style/2012Jan/0991.html) describes some difficulties in implementing `spread` on `text-shadow`. The gist is that `spread` on `box-shadow` can be implemented via changing rectangle sizes and adjusting corner radii, but `spread` on `text-shadow` would have to be implemented by shadowing the text rendered with an enlarged stroke, which could lead to unexpected shadowing of parts of glyphs in some fonts (I saw issues with Zapfino).

In addition, the stroke-enlarging implementation doesn't allow for negative spread, so I suggest we disallow negative spread on `text-shadow`.

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


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

Received on Thursday, 20 January 2022 18:53:34 UTC