summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/flexbox_visibility-collapse-line-wrapping.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-flexbox/flexbox_visibility-collapse-line-wrapping.html')
-rw-r--r--testing/web-platform/tests/css/css-flexbox/flexbox_visibility-collapse-line-wrapping.html36
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-flexbox/flexbox_visibility-collapse-line-wrapping.html b/testing/web-platform/tests/css/css-flexbox/flexbox_visibility-collapse-line-wrapping.html
new file mode 100644
index 0000000000..340335fab2
--- /dev/null
+++ b/testing/web-platform/tests/css/css-flexbox/flexbox_visibility-collapse-line-wrapping.html
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+<title>flexbox | visibility: collapse and line wrapping</title>
+<link rel="author" href="http://opera.com" title="Opera Software">
+<link rel="help"
+ href="http://www.w3.org/TR/css-flexbox-1/#visibility-collapse">
+<link rel="match" href="flexbox_visibility-collapse-line-wrapping-ref.html">
+<style>
+body {
+ margin: 0;
+ width: 602px;
+}
+div {
+ background: #3366cc;
+ border: 1px solid black;
+ display: flex;
+ flex-wrap: wrap;
+}
+p {
+ background: #ffcc00;
+ margin: 1em 0;
+ width: 300px;
+}
+.test {
+ background: red;
+ visibility: collapse;
+}
+</style>
+
+<div>
+ <p>filler</p>
+ <p>filler</p>
+ <p class="test">FAIL</p>
+ <p class="test">FAIL</p>
+ <p>filler</p>
+ <p>filler</p>
+</div>