Skip to content

[css-color-5] color-mix() serialization is outdated #13320

@AtkinsSJ

Description

@AtkinsSJ

Serialize a color-mix() still assumes that 1) the <color-interpolation-method> is required and always serialized, 2) there isn't a <hue-interpolation-method>, and 3) that there are only two colors.

WPT expects the interpolation method to be omitted if it's "in oklab", which matches the usual shortest-serialization rule. It doesn't have coverage for the hue interpolation method or variable numbers of colors.

Metadata

Metadata

Assignees

Labels

css-color-5Color modificationspec-test-mismatchIssues about tests that seem to assume things that contradict the spec or are not specified at all

Type

No type

Projects

Status

Tuesday afternoon

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions