- From: Vitor Roriz via GitHub <noreply@w3.org>
- Date: Tue, 15 Jul 2025 23:20:28 +0000
- To: public-css-archive@w3.org
vitorroriz has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-text-3] Clarify expected computed value for `text-decoration` and similar shorthands == As of right now, [text-decoration computed WPT](https://wpt.fyi/results/css/css-text-decor/parsing/text-decoration-computed.html?label=experimental&label=master&aligned&view=interop&q=label%3Ainterop-2025-textdecoration) expects `text-decoration: none` to be serialized to the resolved value of `currentColor`. However, since `currentColor` is the default value of `text-decoration-color`, one might expect that we should omit it and the computed value should be `none`, following canonical order and short serialization rule. The same is true for similar shorthand properties that have <color> as a value to one of its longhands, like `text-emphasis`. It seems that for [text-emphasis computed WPT](https://wpt.fyi/results/css/css-text-decor/parsing/text-emphasis-computed.html?label=master&label=experimental&aligned&q=text-emphasis-computed), Safari, Chrome and Firefox agree, but that's not the case for text-decoration. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12486 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 15 July 2025 23:20:29 UTC