Skip to content

Commit

Permalink
Fix color space concept as two words
Browse files Browse the repository at this point in the history
  • Loading branch information
ccameron-chromium committed Apr 15, 2021
1 parent 080e5bf commit 73e59c2
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -60425,7 +60425,8 @@ interface <dfn>Path2D</dfn> {
data-x="concept-canvas-desynchronized">desynchronized</span>.</p>

<p>The <code data-x="dom-CanvasRenderingContext2DSettings-colorSpace">colorSpace</code> member
specifies the color space of the rendering context's <span>output bitmap</span>.
specifies the <span data-x="concept-canvas-color-space">color space</span> of the rendering
context's <span>output bitmap</span>.
</dd>

<dt><var>context</var> . <code subdfn data-x="dom-context-2d-canvas">canvas</code></dt>
Expand Down Expand Up @@ -60501,9 +60502,9 @@ interface <dfn>Path2D</dfn> {
where the latency between input and rasterization is critical.</p>

<p>The <code>CanvasRenderingContext2D</code> object also has a <dfn
data-x="concept-canvas-color-space">colorSpace</dfn> setting of type <code>PredefinedColorSpace</code>.
data-x="concept-canvas-color-space">color space</dfn> setting of type <code>PredefinedColorSpace</code>.
The <code>CanvasRenderingContext2D</code> object's <span
data-x="concept-canvas-color-space">colorSpace</span> indicates the color space for the
data-x="concept-canvas-color-space">color space</span> indicates the color space for the
<span>output bitmap</span>.

<p>The <dfn method for="CanvasRenderingContext2D"><code
Expand All @@ -60519,7 +60520,7 @@ interface <dfn>Path2D</dfn> {
<span data-x="concept-canvas-desynchronized">desynchronized</span>.</p></li>

<li><p><code data-x="concept-canvas-color-space">colorSpace</code>, set to this context's
<span>output bitmap</span>'s <span data-x="concept-canvas-color-space">colorSpace</span>.</p></li>
<span>output bitmap</span>'s <span data-x="concept-canvas-color-space">color space</span>.</p></li>
</ul>

<hr>
Expand Down Expand Up @@ -60587,8 +60588,8 @@ interface <dfn>Path2D</dfn> {

<li><p>If <var>settings</var>'s <dfn dict-member for="CanvasRenderingContext2DSettings"><code
data-x="dom-CanvasRenderingContext2DSettings-colorSpace">colorSpace</code></dfn> is a supported
<code>PredefinedColorSpace</code>, then set <var>context</var>'s <span data-x="concept-canvas-color-space">colorSpace</span>
to that value. Otherwise, set <var>context</var>'s <span data-x="concept-canvas-color-space">colorSpace</span>
<code>PredefinedColorSpace</code>, then set <var>context</var>'s <span data-x="concept-canvas-color-space">color space</span>
to that value. Otherwise, set <var>context</var>'s <span data-x="concept-canvas-color-space">color space</span>
to "<code data-x="dom-PredefinedColorSpace-srgb">srgb</code>".</p></li>

<li><p>Return <var>context</var>.</p></li>
Expand Down

0 comments on commit 73e59c2

Please sign in to comment.