Skip to content

Commit ec21106

Browse files
committed
[css-color-adjust-1] Fix links to canvas. #4772 (comment)
1 parent 922863b commit ec21106

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

css-color-adjust-1/Overview.bs

+6-3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ Editor: Rune Lillesveen, Google, futhark@google.com, w3cid 45291
1515
Editor: Tab Atkins Jr., Google, http://www.xanthir.com/contact/, w3cid 42199
1616
Abstract: This module introduces a model and controls over automatic color adjustment by the user agent to handle user preferences, such as "Dark Mode", contrast adjustment, or specific desired color schemes.
1717
</pre>
18+
<pre class='link-defaults'>
19+
spec:css2;type:dfn;text:canvas
20+
</pre>
1821

1922
Introduction {#intro}
2023
=====================
@@ -79,7 +82,7 @@ Preferred Color Schemes {#preferred}
7982
(see 'color-scheme'),
8083
the user agent must match the following to the user's preferred [=color scheme=]:
8184

82-
* the initial color of the <a href="https://www.w3.org/TR/CSS2/intro.html#canvas">canvas</a>
85+
* the initial color of the [=canvas=]
8386
<span class=issue>find what we name this in other specs</span>,
8487
the initial value of the '/color' property,
8588
and the [[css-color-4#css-system-colors|system colors]]
@@ -237,7 +240,7 @@ Effects of the Used Color Scheme {#color-scheme-effect}
237240
to match with the intent of the [=color scheme=].
238241

239242
On the root element,
240-
rendering with a [=color scheme=] additionally must affect the background of the canvas,
243+
rendering with a [=color scheme=] additionally must affect the background of the [=canvas=],
241244
the initial value of the '/color' property,
242245
and the used values of the [[css-color-4#css-system-colors|system colors]],
243246
and should also affect the viewport's scrollbars.
@@ -329,7 +332,7 @@ Forced Color Schemes: the 'forced-color-adjust' property {#forced}
329332
(see [[CSS-COLOR-4]]).
330333
Additionally,
331334
if the UA determines, based on Lab lightness,
332-
that the canvas color
335+
that the ''Canvas'' color
333336
is clearly either dark (L < 33%) or light (L > 67%),
334337
then it must match the appropriate value
335338
of the '@media/prefers-color-scheme' media query

0 commit comments

Comments
 (0)