Skip to content

[css-borders-4] border-color property's grammar doesn't agree with its example #5103

Closed
@litherum

Description

@litherum

From https://drafts.csswg.org/css-backgrounds-4/#the-border-color:

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

The #{} syntax is defined 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions