diff options
Diffstat (limited to 'testing/web-platform/tests/forced-colors-mode/forced-colors-mode-19-ref.html')
-rw-r--r-- | testing/web-platform/tests/forced-colors-mode/forced-colors-mode-19-ref.html | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-19-ref.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-19-ref.html new file mode 100644 index 0000000000..8d25ec5009 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-19-ref.html @@ -0,0 +1,29 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title> + Forced colors mode reference. + Tests that inline images are ignored in forced colors mode when + forced-color-adjust is auto. +</title> +<style> + body { + forced-color-adjust: none; + } + div { + display: inline; + } + #adjustnone { + background-image: + url("resources/test-image.jpg"); + } +</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> |