diff options
Diffstat (limited to 'testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-11.html')
-rw-r--r-- | testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-11.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-11.html b/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-11.html new file mode 100644 index 0000000000..a43f79db51 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-11.html @@ -0,0 +1,24 @@ +<!DOCTYPE html> +<html class="reftest-wait"> +<meta charset="utf-8"> +<title> + Forced colors mode - backplate. + Tests that backplates are not painted behind hidden elements. +</title> +<link rel="help" href="https://www.w3.org/TR/css-color-adjust-1/#forced"> +<link rel=match href="forced-colors-mode-backplate-11-ref.html"> +<script src="../../common/reftest-wait.js"></script> +<link rel="preload" as="image" href="../resources/test-image.jpg" onload="takeScreenshot()" /> +<style> + body { + background-image: url("../resources/test-image.jpg"); + } +</style> + +<div style="visibility: hidden;"> + No blackplate should be painted in forced colors mode. +</div> +<div style="visibility: collapse;"> + No blackplate should be painted in forced colors mode. +</div> +</html> |