From 039be21dfcf41f25e9f22767e01b7b34a6655815 Mon Sep 17 00:00:00 2001
From: Romain Menke <11521496+romainmenke@users.noreply.github.com>
Date: Sun, 7 Jun 2026 16:09:29 +0200
Subject: [PATCH 1/2] [css-color-5][css-color-4] Consistent mention of
`display-p3-linear` in `color(...)` syntax
---
css-color-5/Overview.bs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/css-color-5/Overview.bs b/css-color-5/Overview.bs
index 240843095d6..cfd55d4251d 100644
--- a/css-color-5/Overview.bs
+++ b/css-color-5/Overview.bs
@@ -1838,7 +1838,7 @@ The result of this function is in the color space of the origin color.
<colorspace-params> = [<> | <> | <>]
<custom-params> = <> [ <> | <> | none ]+
<predefined-rgb-params> = <> [ <> | <> | none ]{3}
- <predefined-rgb> = srgb | srgb-linear | display-p3 | a98-rgb | prophoto-rgb | rec2020
+ <predefined-rgb> = srgb | srgb-linear | display-p3 | display-p3-linear | a98-rgb | prophoto-rgb | rec2020
<xyz-params> = <> [ <> | <> | none ]{3}
From 6a286a9491ae68ff36e6e8790be570d68841365d Mon Sep 17 00:00:00 2001
From: Romain Menke
Date: Sun, 7 Jun 2026 16:23:35 +0200
Subject: [PATCH 2/2] consistency
---
css-color-4/Overview.bs | 95 +++++++++++++++++++++--------------------
1 file changed, 49 insertions(+), 46 deletions(-)
diff --git a/css-color-4/Overview.bs b/css-color-4/Overview.bs
index 4d2f44d2c4c..49fd3d6ccf8 100644
--- a/css-color-4/Overview.bs
+++ b/css-color-4/Overview.bs
@@ -4194,66 +4194,69 @@ The Predefined Display P3 Color Space: the ''display-p3'' keyword
The Predefined Linear-Light Display P3 Color Space: the ''display-p3-linear'' keyword
+
+ - display-p3-linear
+
-
+ The ''display-p3-linear'' predefined color space
+ is the same as ''display-p3''
+ except that the transfer function
+ is linear-light (there is no gamma-encoding).
- The display-p3-linear predefined color space
- is the same as ''display-p3''
- except that the transfer function
- is linear-light (there is no gamma-encoding).
-
- It has the following characteristics:
+ It has the following characteristics:
-
-
+
+
|
x |
y |
- | Red chromaticity | 0.680 | 0.320 |
- | Green chromaticity | 0.265 | 0.690 |
- | Blue chromaticity | 0.150 | 0.060 |
- | White chromaticity | [=D65=] |
- | Transfer function | unity, see below |
- | White luminance | 80.0 cd/m2 |
- | Black luminance | 0.80 cd/m2 |
- | Image state | display-referred |
-
- | Percentages |
- Allowed for R, G and B |
-
-
- | Percent reference range |
- for R,G,B: 0% = 0.0, 100% = 1.0 |
-
-
+ | Red chromaticity | 0.680 | 0.320 |
+ | Green chromaticity | 0.265 | 0.690 |
+ | Blue chromaticity | 0.150 | 0.060 |
+ | White chromaticity | [=D65=] |
+ | Transfer function | unity, see below |
+ | White luminance | 80.0 cd/m2 |
+ | Black luminance | 0.80 cd/m2 |
+ | Image state | display-referred |
+
+ | Percentages |
+ Allowed for R, G and B |
+
+
+ | Percent reference range |
+ for R,G,B: 0% = 0.0, 100% = 1.0 |
+
+
-
- cl = c;
-
+
+ cl = c;
+
- c is the red, green or blue component.
- cl is the corresponding linear-light component, which is identical.
+ c is the red, green or blue component.
+ cl is the corresponding linear-light component, which is identical.
- To avoid banding artifacts, a
- higher precision is required
- for ''display-p3-linear'' than for ''display-p3''.
+ To avoid banding artifacts, a
+ higher precision is required
+ for ''display-p3-linear'' than for ''display-p3''.
-
- For example, these are the same color
-
- color(display-p3 0.591 0.123 0.264)
- color(display-p3-linear 0.3081 0.014 0.0567)
-
-
+
+ For example, these are the same color
+
+ color(display-p3 0.591 0.123 0.264)
+ color(display-p3-linear 0.3081 0.014 0.0567)
+
+
+
- display-p3-linear-001.html
- display-p3-linear-002.html
- display-p3-linear-003.html
- display-p3-linear-004.html
- display-p3-linear-005.html
- display-p3-linear-006.html
+ display-p3-linear-001.html
+ display-p3-linear-002.html
+ display-p3-linear-003.html
+ display-p3-linear-004.html
+ display-p3-linear-005.html
+ display-p3-linear-006.html