Skip to content

[css-color-5] Allow using channel keywords in any calculation #10983

Closed
@cdoublev

Description

@cdoublev

CSS Values 5 defines progress functions, which are not math functions, but take calculations (<calc-sum>) and resolve to <number>, like math functions (which are calculations).

I cannot think of a realistic use case but CSS Color 5 should probably extend the validity of channel keywords to calculations, rather than just math functions:

Math functions can also use these keywords to do dynamic modifications of the origin color’s channels.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions