@@ -2161,14 +2161,17 @@ An [=out-of-range premultiplied RGBA value=] is one for which the unpremultiplie
21612161of the same color would be outside of the range of the format.
21622162
21632163<div class=example>
2164- For example, the unpremultiplied sRGB RGBA value `[1.04, 0, 0, 0.5]` and the
2164+ For example, on a display with a color space of exactly Display P3,
2165+ the unpremultiplied sRGB RGBA value `[1.04, 0, 0, 0.5]` and the
21652166 premultiplied sRGB RGBA value `[0.52, 0, 0, 0.5]` both represent the
21662167 CSS color <code><a funcdef>color</a>(srgb 1.04 0 0 / 0.5)</code>, which is equivalent to the
21672168 in-gamut Display P3 color <code><a funcdef>color</a>(display-p3 0.95 0.21 0.15 / 0.5)</code>.
21682169
21692170 When represented in a {{PredefinedColorSpace/"srgb"}} {{GPUTextureFormat/"rgba8unorm"}} canvas,
21702171 both values are out-of-range for the purposes of this definition,
21712172 even though the premultiplied value is representable.
2173+
2174+ (The colors in this example are in the gamut of the display to avoid any gamut mapping.)
21722175</div>
21732176
21742177When a canvas containing such a value is
@@ -2212,6 +2215,8 @@ displayed *on screen*, the visible result for the entire canvas is undefined.
22122215 then sent to the display buffer resulting in the appearance of
22132216 <code><a funcdef>color</a>(display-p3 0.92 0.2 0.14 / 0.5)</code>.
22142217 - Value displayed by some other process.
2218+
2219+ (The colors in this example are in the gamut of the display to avoid any gamut mapping.)
22152220</div>
22162221
22172222Note:
0 commit comments