Skip to content

[css-color-5][css-color-4] Consistent mention of display-p3-linear in color(...) syntax#14024

Open
romainmenke wants to merge 2 commits into
w3c:mainfrom
romainmenke:patch-4
Open

[css-color-5][css-color-4] Consistent mention of display-p3-linear in color(...) syntax#14024
romainmenke wants to merge 2 commits into
w3c:mainfrom
romainmenke:patch-4

Conversation

@romainmenke

@romainmenke romainmenke commented Jun 7, 2026

Copy link
Copy Markdown
Member

See: https://drafts.csswg.org/css-color-4/#color-function

`<predefined-rgb>` = srgb | srgb-linear | display-p3 | display-p3-linear | a98-rgb | prophoto-rgb | rec2020

While [css-color-5] didn't have display-p3-linear:

`<predefined-rgb>` = srgb | srgb-linear | display-p3 | a98-rgb | prophoto-rgb | rec2020

In [css-color-4] the entry for display-p3-linear didn't match the existing pattern for the other color spaces in that section.

This should also fix the link to the display-p3-linear definition in the color(...) syntax: https://drafts.csswg.org/css-color-4/#color-function

Screenshot of the spec showing display-p3 as a link and display-p3-linear as text

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant