[csswg-drafts] [css-backgrounds-4] border-color property's grammar doesn't agree with its example (#5103)

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

== [css-backgrounds-4] border-color property's grammar doesn't agree with its example ==
From https://drafts.csswg.org/css-backgrounds-4/#the-border-color:

> Name: | border-color
> -- | --
> Value: | `<color>#{1,4}`

The `#{}` syntax is [defined](https://drafts.csswg.org/css-values-4/#component-multipliers) as such:
> A hash mark (#) indicates that the preceding type, word, or group occurs one or more times, separated by comma tokens ... It may optionally be followed by the curly brace forms, above, to indicate precisely how many times the repetition occurs, like `<length>#{1,4}`.

But then css-backgrounds-4 goes on to list an example:

> `border-color: skyblue orange yellowgreen indianred, black yellow;`

I don't think this example conforms to the property's grammar according to the definition listed above.


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

Received on Friday, 22 May 2020 20:14:46 UTC