summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-nesting/nest-containing-forgiving-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-nesting/nest-containing-forgiving-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-nesting/nest-containing-forgiving-ref.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-nesting/nest-containing-forgiving-ref.html b/testing/web-platform/tests/css/css-nesting/nest-containing-forgiving-ref.html
new file mode 100644
index 0000000000..36b07c92b6
--- /dev/null
+++ b/testing/web-platform/tests/css/css-nesting/nest-containing-forgiving-ref.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<title>Nest-containing in forgiving parsing</title>
+<style>
+ .test {
+ background-color: green;
+ width: 100px;
+ height: 100px;
+ display: grid;
+ }
+
+ body * + * {
+ margin-top: 8px;
+ }
+</style>
+<body>
+ <p>Tests pass if <strong>block is green</strong></p>
+ <div class="test"></div>
+</body>