summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/flexbox/single-line-column-flex-fragmentation-029.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-break/flexbox/single-line-column-flex-fragmentation-029.html')
-rw-r--r--testing/web-platform/tests/css/css-break/flexbox/single-line-column-flex-fragmentation-029.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-break/flexbox/single-line-column-flex-fragmentation-029.html b/testing/web-platform/tests/css/css-break/flexbox/single-line-column-flex-fragmentation-029.html
new file mode 100644
index 0000000000..e6f7f8a5fb
--- /dev/null
+++ b/testing/web-platform/tests/css/css-break/flexbox/single-line-column-flex-fragmentation-029.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<title>
+ OOF static position in a fragmented flexbox with viewport containing block.
+</title>
+<link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#pagination">
+<link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#abspos-items">
+<link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
+<style>
+ .abs {
+ background: green;
+ position: absolute;
+ width: 25px;
+ height: 100px;
+ }
+</style>
+<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
+<div style="columns:4; column-gap:0px; column-fill:auto; width:100px; height:100px;">
+ <div style="display:flex; flex-direction:column; height:400px;">
+ <div style="height: 100px; width: 25px; background-color: red;"></div>
+ <div style="width: 25px;">
+ <div class="abs"></div>
+ <div style="height: 100px; width: 25px; background-color: red;"></div>
+ <div style="height: 100px; width: 25px; background-color: green;"></div>
+ </div>
+ <div style="height: 100px; width: 25px; background-color: green;"></div>
+ <div class="abs"></div>
+ </div>
+</div>