summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-contain/content-visibility/content-visibility-024-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-contain/content-visibility/content-visibility-024-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-contain/content-visibility/content-visibility-024-ref.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-contain/content-visibility/content-visibility-024-ref.html b/testing/web-platform/tests/css/css-contain/content-visibility/content-visibility-024-ref.html
new file mode 100644
index 0000000000..a9c68285a7
--- /dev/null
+++ b/testing/web-platform/tests/css/css-contain/content-visibility/content-visibility-024-ref.html
@@ -0,0 +1,24 @@
+<!doctype HTML>
+<html>
+<meta charset="utf8">
+<title>Content Visibility: hidden image (reference)</title>
+<link rel="author" title="Vladimir Levin" href="mailto:vmpstr@chromium.org">
+<link rel="help" href="https://drafts.csswg.org/css-contain/#content-visibility">
+
+<style>
+div {
+ background: blue;
+ color: white;
+}
+img {
+ width: 400px;
+ height: 200px;
+ background: lightblue;
+ border: 1px solid black;
+}
+</style>
+
+<div>Test passes if there are two pictures below: one of colored dices over a checkered background, and one of a bunch of circles.</div>
+<img src="resources/dice.png"></img>
+<img src="resources/circles.svg"></img>
+<div>Lorem ipsum consectetur adipiscing elit</div>