Skip to content

Update basic color parsing and serialization tests to cover the CSS Color 4 color grammar - #31905

Merged
weinig merged 1 commit into
web-platform-tests:masterfrom
weinig:weinig/color-parsing
Dec 9, 2021
Merged

weinig merged 1 commit into
web-platform-tests:masterfrom
weinig:weinig/color-parsing

Conversation

@weinig

@weinig weinig commented Dec 6, 2021

Copy link
Copy Markdown
Contributor

This updates basic color tests to include the color() function, lch(), lab(), oklch() and oklab(). Also removes some invalid alternative serializations and comments that are no longer accurate from color-valid.html.

I'm not sure if it is the right decision to utilize these existing tests initially meant to cover CSS Color 3, so I would be happy to break them out if that makes more sense to folks.

These are based on tests in WebKit's layout tests that I wrote:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants