[css-text-decor] Value syntax of text-emphasis shorthand

The current syntax of `text-emphasis` is "<‘text-emphasis-style’> ||
<‘text-emphasis-color’>" and the spec says "Omitted values are set to
their initial values". However, the initial value of
`text-emphasis-style` is `none`, which means it just makes no sense to
set only `text-emphasis-color` in this shorthand.

Thus I propose that the syntax should be "<‘text-emphasis-style’> &&
<‘text-emphasis-color’>?".

This probably also applies to `text-decoration` shorthand, whose
syntax could be change to "<‘text-decoration-line’> &&
<‘text-decoration-style’>? && <‘text-decoration-color’>?".

Am I missing anything why we shouldn't do this?

- Xidorn

Received on Friday, 23 October 2015 01:26:56 UTC