Skip to content

Commit

Permalink
[css-color-adjust-1][editorial] Add WPT
Browse files Browse the repository at this point in the history
  • Loading branch information
svgeesus committed Nov 20, 2024
1 parent af9340f commit 0525e1d
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions css-color-adjust-1/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ Editor: Rune Lillesveen, Google, [email protected], 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.
Ignored Terms: -webkit-tap-highlight-color, name, the head element
WPT Path Prefix: css/css-color-adjust/
WPT Display: open
</pre>
<pre class='link-defaults'>
spec:css2; type:dfn; text:canvas
Expand Down Expand Up @@ -140,6 +142,30 @@ Opting Into a Preferred Color Scheme: the 'color-scheme' property {#color-scheme
Animation type: discrete
</pre>

<wpt>
parsing/color-scheme-computed.html
parsing/color-scheme-invalid.html
parsing/color-scheme-valid.html
rendering/dark-color-scheme/color-scheme-change-checkbox.html
rendering/dark-color-scheme/color-scheme-color-property.html
rendering/dark-color-scheme/color-scheme-iframe-background-mismatch-alpha.html
rendering/dark-color-scheme/color-scheme-iframe-background-mismatch-opaque-cross-origin.sub.html
rendering/dark-color-scheme/color-scheme-iframe-background-mismatch-opaque.html
rendering/dark-color-scheme/color-scheme-iframe-background-mismatch-used-preferred.html
rendering/dark-color-scheme/color-scheme-iframe-background.html
rendering/dark-color-scheme/color-scheme-iframe-dynamic.html
rendering/dark-color-scheme/color-scheme-iframe-preferred-change.html
rendering/dark-color-scheme/color-scheme-iframe-preferred-page-dark.html
rendering/dark-color-scheme/color-scheme-iframe-preferred-page-light.html
rendering/dark-color-scheme/color-scheme-iframe-preferred.html
rendering/dark-color-scheme/color-scheme-link-crash.html
rendering/dark-color-scheme/color-scheme-root-background.html
rendering/dark-color-scheme/color-scheme-rule-cache.html
rendering/dark-color-scheme/color-scheme-system-colors.html
rendering/dark-color-scheme/color-scheme-table-border-currentcolor-responsive.html
rendering/dark-color-scheme/color-scheme-visited-link-initial.html
</wpt>

While the 'prefers-color-scheme' media feature
allows an author to adapt the page’s colors to the user’s preferred color scheme,
many parts of the page are not under the author's control
Expand Down Expand Up @@ -612,6 +638,13 @@ Opting Out of a Forced Color Palette: the 'forced-color-adjust' property {#force
(where it can affect e.g. the canvas background).
Note that 'forced-color-adjust' is <em>not</em> propagated from HTML <{body}>.

<wpt>
/css/css-forced-color-adjust/inheritance.html
/css/css-forced-color-adjust/parsing/forced-color-adjust-computed.html
/css/css-forced-color-adjust/parsing/forced-color-adjust-invalid.html
/css/css-forced-color-adjust/parsing/forced-color-adjust-valid.html
</wpt>


<!--
██████ ███████ ██ ███████ ████████ ███ ████████ ██ ██ ██ ██████ ████████
Expand Down Expand Up @@ -667,6 +700,10 @@ Ink Economy: the 'print-color-adjust' property {#print-color-adjust}
Animation type: discrete
</pre>

<wpt>
parsing/print-color-adjust.html
</wpt>

The 'print-color-adjust' property provides a hint to the user-agent
about how it should treat color and style choices
that might be expensive or generally unwise on a printer or similar device,
Expand Down Expand Up @@ -727,6 +764,12 @@ The 'color-adjust' Shorthand {#color-adjust}
to avoid accidentally resetting performance-based color adjustments
in other contexts than the one intended.

<wpt>
animation/color-scheme-no-interpolation.html
animation/forced-color-adjust-no-interpolation.html
inheritance.html
</wpt>


Privacy Considerations {#privacy}
===================================
Expand Down

0 comments on commit 0525e1d

Please sign in to comment.