diff options
Diffstat (limited to 'testing/web-platform/tests/forced-colors-mode/forced-colors-mode-19.html')
-rw-r--r-- | testing/web-platform/tests/forced-colors-mode/forced-colors-mode-19.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-19.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-19.html new file mode 100644 index 0000000000..5c4a09e422 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-19.html @@ -0,0 +1,28 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title> + Forced colors mode. + Tests that inline images are ignored in forced colors mode when + forced-color-adjust is auto. +</title> +<link rel="help" href="https://www.w3.org/TR/css-color-adjust-1/#forced-colors-properties"> +<link rel=match href="forced-colors-mode-19-ref.html"> +<style> + div { + background-image: url("resources/test-image.jpg"); + display: inline; + } + #adjustnone { + forced-color-adjust: none; + } +</style> +<body> + <div> + The background image behind this text should be ignored in forced colors + mode. + </div> + <div id="adjustnone"> + The background image behind this text should NOT be ignored in forced + colors mode. + </div> +</body> |