summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/anonymous-block.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-flexbox/anonymous-block.html')
-rw-r--r--testing/web-platform/tests/css/css-flexbox/anonymous-block.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-flexbox/anonymous-block.html b/testing/web-platform/tests/css/css-flexbox/anonymous-block.html
new file mode 100644
index 0000000000..915cca757d
--- /dev/null
+++ b/testing/web-platform/tests/css/css-flexbox/anonymous-block.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<title>CSS Flexbox: anonymous block</title>
+<html>
+<link href="support/flexbox.css" rel="stylesheet">
+<link rel="help" href="https://www.w3.org/TR/css-flexbox-1/#flex-items">
+<link rel="match" href="reference/anonymous-block-ref.html">
+<body>
+<p>This tests that text nodes that have a flexbox as a parent are wrapped in
+anonymous blocks.</p>
+<div class="flexbox">This text should be visible.</div>
+</body>
+</html>