Skip to content

Commit a470fbf

Browse files
committed
[css-color-adjust-1] Propagate color-adjust properties from root to viewport so they affect the canvas background color etc. #6307
1 parent 5a6b912 commit a470fbf

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

css-color-adjust-1/Overview.bs

+11
Original file line numberDiff line numberDiff line change
@@ -598,6 +598,12 @@ Opting Out of a Forced Color Palette: the 'forced-color-adjust' property {#force
598598
svg|foreignObject { forced-color-adjust: auto; }
599599
</pre>
600600

601+
UAs must propagate the 'forced-color-adjust' value set on the root element
602+
to the document viewport
603+
(where it can affect e.g. the canvas background).
604+
Note that 'forced-color-adjust' is <em>not</em> propagated from HTML <{body}>.
605+
606+
601607
<!--
602608
██████ ███████ ██ ███████ ████████ ███ ████████ ██ ██ ██ ██████ ████████
603609
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
@@ -687,6 +693,11 @@ Ink Economy: the 'print-color-adjust' property {#print-color-adjust}
687693
when distracted in a car.
688694
</dl>
689695

696+
UAs must propagate the 'print-color-adjust' value set on the root element
697+
to the document viewport
698+
(where it can affect e.g. the canvas background).
699+
Note that 'print-color-adjust' is <em>not</em> propagated from HTML <{body}>.
700+
690701
The 'color-adjust' Shorthand {#color-adjust}
691702
--------------------------------------------
692703

0 commit comments

Comments
 (0)