[csswg-drafts] [css-text-decor-4] Hard to parse sentence (#5158)

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

== [css-text-decor-4] Hard to parse sentence ==
Fifth paragraph of https://drafts.csswg.org/css-text-decor-4/#line-decoration, just above the example, includes this text:

> The visibility property, text-shadow, filters, and other graphical transformations likewise affect text decorations as part of the text they’re drawn on, even if the decorations were specified on an ancestor box

I think that is trying to say that `text-shadow`, `filters` and other graphical transformations on an inline element are applied to any text-decoration drawn on that inline element, even if the text-decoration was specified on an ancestor box.

I know I'm not the only one who struggled with this sentence, as we have 12 tests trying to verify the exact opposite of what this sentence is trying to say. See https://github.com/web-platform-tests/wpt/pull/23949


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

Received on Wednesday, 3 June 2020 16:27:19 UTC