8000 [css-values-4][css-color-5] Define that color interpolation uses color-mix() if necessary · Issue #12292 · w3c/csswg-drafts · GitHub
[go: up one dir, main page]

Skip to content

[css-values-4][css-color-5] Define that color interpolation uses color-mix() if necessary #12292

@tabatkins

Description

@tabatkins

Currently, Values 4 defines simply that colors are interpolated in premultiplied sRGB. Colors 5 expands on this with more details (and we should edit Values 4 to defer to it, probably). However, neither of them actually say what happens when you interpolate between currentcolor and something else.

This can't be resolves at computed-value time, so I think the best answer is that it resolves to a color-mix().

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Tuesday Breakout (1pm?)

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0