summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-25.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/forced-colors-mode/forced-colors-mode-25.html')
-rw-r--r--testing/web-platform/tests/forced-colors-mode/forced-colors-mode-25.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-25.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-25.html
new file mode 100644
index 0000000000..ea1f973f04
--- /dev/null
+++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-25.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>Forced colors mode - atomic inline.
+ Ensures that background images are not overridden for atomic inlines.
+</title>
+<link rel="help" href="https://www.w3.org/TR/css-color-adjust-1/#forced-colors-properties">
+<link rel=match href="forced-colors-mode-25-ref.html">
+<style>
+ div {
+ background-image: url("resources/test-image.jpg");
+ height: 150px;
+ width: 150px;
+ }
+</style>
+<body>
+ <p>Four images should appear below with forced colors mode enabled and disabled.</p>
+ <div style="display: inline-block;"></div>
+ <div style="display: inline-flex;"></div>
+ <div style="display: inline-grid;"></div>
+ <div style="display: inline-table;"></div>
+</body>