Skip to content

Commit 941adab

Browse files
Reapply patch
1 parent 4c0c1eb commit 941adab

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

source

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3771,7 +3771,10 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
37713771
<li><dfn data-x-href="https://drafts.csswg.org/css-color/#opaque-black">opaque black</dfn></li>
37723772
<li><dfn data-x-href="https://drafts.csswg.org/css-color/#transparent-black">transparent black</dfn></li>
37733773
<li><dfn data-x-href="https://drafts.csswg.org/css-color/#valdef-color-srgb">'srgb'</dfn> color space</li>
3774+
<li><dfn data-x-href="https://drafts.csswg.org/css-color/#valdef-color-srgb-linear">'srgb-linear'</dfn> color space</li>
37743775
<li><dfn data-x-href="https://drafts.csswg.org/css-color/#valdef-color-display-p3">'display-p3'</dfn> color space</li>
3776+
<li><dfn data-x-href="https://drafts.csswg.org/css-color/#display-p3-linear-space">'display-p3-linear'</dfn> color space</li>
3777+
<li><dfn data-x-href="https://drafts.csswg.org/css-color-hdr-1/#valdef-color-rec2100-linear">'rec2100-linear'</dfn> color space</li>
37753778
<li><dfn data-x-href="https://drafts.csswg.org/css-color-5/#valdef-color-profile-rendering-intent-relative-colorimetric">'relative-colorimetric'</dfn> rendering intent</li>
37763779
<li><dfn id="parsed-as-a-css-color-value" data-x-href="https://drafts.csswg.org/css-color/#parse-a-css-color-value">parse a CSS &lt;color> value</dfn></li>
37773780
<li><!--en-GB--><dfn id="serialisation-of-a-color" data-x-href="https://drafts.csswg.org/css-color/#serializing-color-values">serialize a CSS &lt;color> value</dfn> including <dfn data-x-href="https://drafts.csswg.org/css-color/#color-serialization-html-compatible-serialization-is-requested">HTML-compatible serialization is requested</dfn></li>
@@ -75526,7 +75529,7 @@ interface <dfn interface>OffscreenCanvasRenderingContext2D</dfn> {
7552675529
<!--en-GB--><h5 id="colour-spaces-and-colour-correction">Color spaces and color space
7552775530
conversion</h5>
7552875531

75529-
<pre><code class="idl">enum <dfn enum>PredefinedColorSpace</dfn> { "<span data-x="dom-PredefinedColorSpace-srgb">srgb</span>", "<span data-x="dom-PredefinedColorSpace-display-p3">display-p3</span>" };</code></pre>
75532+
<pre><code class="idl">enum <dfn enum>PredefinedColorSpace</dfn> { "<span data-x="dom-PredefinedColorSpace-srgb">srgb</span>", "<span data-x="dom-PredefinedColorSpace-srgb-linear">srgb-linear</span>", "<span data-x="dom-PredefinedColorSpace-display-p3">display-p3</span>", "<span data-x="dom-PredefinedColorSpace-display-p3-linear">display-p3-linear</span>", "<span data-x="dom-PredefinedColorSpace-rec2100-linear">rec2100-linear</span>" };</code></pre>
7553075533

7553175534
<p>The <code>PredefinedColorSpace</code> enumeration is used to specify the <span
7553275535
data-x="concept-canvas-color-space">color space</span> of the canvas's backing store.</p>
@@ -75535,12 +75538,21 @@ interface <dfn interface>OffscreenCanvasRenderingContext2D</dfn> {
7553575538
data-x="dom-PredefinedColorSpace-srgb">srgb</code></dfn>" value indicates the <span>'srgb'</span>
7553675539
color space.</p>
7553775540

75541+
<p>The "<dfn enum-value for="PredefinedColorSpace"><code
75542+
data-x="dom-PredefinedColorSpace-srgb-linear">srgb-linear</code></dfn>" value indicates the
75543+
<span>'srgb-linear'</span> color space.</p>
75544+
7553875545
<p>The "<dfn enum-value for="PredefinedColorSpace"><code
7553975546
data-x="dom-PredefinedColorSpace-display-p3">display-p3</code></dfn>" value indicates the
7554075547
<span>'display-p3'</span> color space.</p>
7554175548

75542-
<p><span data-x="Converting Colors">Color space conversion</span> must be applied to the canvas's
75543-
backing store when rendering the canvas to the output device.</p>
75549+
<p>The "<dfn enum-value for="PredefinedColorSpace"><code
75550+
data-x="dom-PredefinedColorSpace-display-p3-linear">display-p3-linear</code></dfn>" value indicates the
75551+
<span>'display-p3-linear'</span> color space.</p>
75552+
75553+
<p>The "<dfn enum-value for="PredefinedColorSpace"><code
75554+
data-x="dom-PredefinedColorSpace-rec2100-linear">rec2100-linear</code></dfn>" value indicates the
75555+
<span>'rec2100-linear'</span> color space.</p>
7554475556

7554575557
<p class="note">The algorithm for converting between color spaces can be found in the
7554675558
<span>Converting Colors</span> section of <cite>CSS Color</cite>. This color space conversion is

0 commit comments

Comments
 (0)