Skip to content

[css-color-5] Is relative colors "omitted alpha" rule useful? #10991

@emilio

Description

@emilio

https://drafts.csswg.org/css-color-5/#rcs-intro says:

If the alpha value of the relative color is omitted, it defaults to that of the origin color (rather than defaulting to 100%, as it does in the absolute syntax).

That was a bit unexpected to me, and feels it could be for authors as well. Given authors can just type an extra alpha on the color, is it really worth the confusion?

cc @svgeesus @weinig

Metadata

Metadata

Assignees

No one assigned

    Labels

    Closed as Question AnsweredUsed when the issue is more of a question than a problem, and it's been answered.Commenter SatisfiedCommenter has indicated satisfaction with the resolution / edits.css-color-5Color modification

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions