- From: Boris Chiou <notifications@github.com>
- Date: Thu, 02 Apr 2020 11:32:42 -0700
- To: w3c/editing <editing@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 2 April 2020 18:32:55 UTC
The definition in [inline formatting commands](https://dvcs.w3.org/hg/editing/raw-file/tip/editing.html#inline-formatting-commands) still use `text-decoration` for `underline` and `strikeThrough` command. However, the up-to-date [[css-text-decor-4]](https://drafts.csswg.org/css-text-decor-4/#text-decoration-property) makes `text-decoration` a shorthand property, and it may contains the computed values of other longhands, e.g. `text-decoration-color`, `text-decoration-thickness`. My proposal is: update this to `text-decoration-line` because It's not a good idea to use the shorthand style to represent these commands, and the serialization of the computed value of this shorthand is easy to be impacted by other properties. I can file a PR to update it if this is accepted. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/editing/issues/241
Received on Thursday, 2 April 2020 18:32:55 UTC