-
Notifications
You must be signed in to change notification settings - Fork 671
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[css-color-adjust-1][editorial] Add WPT
- Loading branch information
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|
@@ -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> | ||
|
||
|
||
<!-- | ||
██████ ███████ ██ ███████ ████████ ███ ████████ ██ ██ ██ ██████ ████████ | ||
|
@@ -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, | ||
|
@@ -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} | ||
=================================== | ||
|