summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/flexbox/multi-line-row-flex-fragmentation-069-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-break/flexbox/multi-line-row-flex-fragmentation-069-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-break/flexbox/multi-line-row-flex-fragmentation-069-ref.html34
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-break/flexbox/multi-line-row-flex-fragmentation-069-ref.html b/testing/web-platform/tests/css/css-break/flexbox/multi-line-row-flex-fragmentation-069-ref.html
new file mode 100644
index 0000000000..723b3dbc95
--- /dev/null
+++ b/testing/web-platform/tests/css/css-break/flexbox/multi-line-row-flex-fragmentation-069-ref.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<title>
+ Multi-line row flex fragmentation: row gaps should not be truncated by
+ fragmentainer breaks (similar to flex-item margins).
+</title>
+<style>
+ .multicol {
+ columns: 2;
+ column-fill: auto;
+ width: 300px;
+ height: 100px;
+ margin: 20px;
+ background: yellow;
+ }
+ .flex {
+ display: flex;
+ flex-wrap: wrap;
+ background: gray;
+ }
+ .flex > div {
+ contain: size;
+ width: 100%;
+ height: 50px;
+ background: cyan;
+ }
+</style>
+<p>Flex row gaps should <strong>not</strong> be truncated when a row breaks.</p>
+<div class="multicol">
+ <div style="height:25px;"></div>
+ <div class="flex">
+ <div></div>
+ <div style="margin-top:100px;"></div>
+ </div>
+</div>