Skip to content

Commit

Permalink
[css-color-adjust-1] Fix links to canvas. w3c#4772 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
fantasai authored and Jordan Taylor committed May 13, 2020
1 parent b09f3b7 commit 9b438ef
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions css-color-adjust-1/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ Editor: Rune Lillesveen, Google, futhark@google.com, w3cid 45291
Editor: Tab Atkins Jr., Google, http://www.xanthir.com/contact/, w3cid 42199
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.
</pre>
<pre class='link-defaults'>
spec:css2;type:dfn;text:canvas
</pre>

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

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

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

0 comments on commit 9b438ef

Please sign in to comment.