You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
@litherum ... Just so you know, I don't think this is a spec that should be referenced by anybody right now. ^_^;; It's got a "don't implement yet" warning and isn't FPWD for a reason.
Agreed there's an error here, but I think the resolution was to change the grammar to background-color: [ <color> | <image-1D> ]{1,4}.
SebastianZ
changed the title
[css-backgrounds-4] border-color property's grammar doesn't agree with its example
[css-borders-4] border-color property's grammar doesn't agree with its example
Aug 12, 2023
From https://drafts.csswg.org/css-backgrounds-4/#the-border-color:
The
#{}
syntax is defined as such:But then css-backgrounds-4 goes on to list an example:
I don't think this example conforms to the property's grammar according to the definition listed above.
The text was updated successfully, but these errors were encountered: