Skip to content

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

Merged
svgeesus merged 2 commits into
w3c:mainfrom
romainmenke:patch-4
Jun 18, 2026
Merged

[css-color-5][css-color-4] Consistent mention of display-p3-linear in color(...) syntax#14024
svgeesus merged 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

@romainmenke
romainmenke requested a review from svgeesus June 15, 2026 12:22
@svgeesus
svgeesus merged commit 8829a2d into w3c:main Jun 18, 2026
3 checks passed
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.

2 participants