summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-contain/content-visibility/content-visibility-022-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-contain/content-visibility/content-visibility-022-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-contain/content-visibility/content-visibility-022-ref.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-contain/content-visibility/content-visibility-022-ref.html b/testing/web-platform/tests/css/css-contain/content-visibility/content-visibility-022-ref.html
new file mode 100644
index 0000000000..f85727489a
--- /dev/null
+++ b/testing/web-platform/tests/css/css-contain/content-visibility/content-visibility-022-ref.html
@@ -0,0 +1,24 @@
+<!doctype HTML>
+<html>
+<meta charset="utf8">
+<title>Content Visibility: hidden svg (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;
+}
+.mysvg {
+ display: inline-block;
+ width: 400px;
+ height: 300px;
+ background: lightblue;
+ border: 1px solid black;
+}
+</style>
+
+<div>Test passes if there is a plain light blue box below with no circles in it.</div>
+<div class="mysvg"></div>
+<div>Lorem ipsum consectetur adipiscing elit</div>