summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-contain/content-visibility/content-visibility-042-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-contain/content-visibility/content-visibility-042-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-contain/content-visibility/content-visibility-042-ref.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-contain/content-visibility/content-visibility-042-ref.html b/testing/web-platform/tests/css/css-contain/content-visibility/content-visibility-042-ref.html
new file mode 100644
index 0000000000..a76d5397c3
--- /dev/null
+++ b/testing/web-platform/tests/css/css-contain/content-visibility/content-visibility-042-ref.html
@@ -0,0 +1,21 @@
+<!doctype HTML>
+<html>
+<meta charset="utf8">
+<title>Content Visibility: pseudo elements</title>
+<link rel="author" title="Rakina Zata Amni" href="mailto:rakina@chromium.org">
+<link rel="help" href="https://drafts.csswg.org/css-contain/#content-visibility">
+
+<style>
+#container::before {
+ content: "This test ";
+ color: green;
+}
+#container::after {
+ content: "PASSES.";
+ background: green;
+ color: white;
+}
+</style>
+<div id="container"></div>
+</script>
+</html>