summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/table/repeated-section/variable-fragmentainer-size-001.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-break/table/repeated-section/variable-fragmentainer-size-001.html')
-rw-r--r--testing/web-platform/tests/css/css-break/table/repeated-section/variable-fragmentainer-size-001.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-break/table/repeated-section/variable-fragmentainer-size-001.html b/testing/web-platform/tests/css/css-break/table/repeated-section/variable-fragmentainer-size-001.html
new file mode 100644
index 0000000000..f75a8cf216
--- /dev/null
+++ b/testing/web-platform/tests/css/css-break/table/repeated-section/variable-fragmentainer-size-001.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
+<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1378294">
+<link rel="match" href="variable-fragmentainer-size-001-ref.html">
+<p>There should be three blue squares and three hotpink ones.</p>
+<!-- The first two inner fragmentainers are tall enough to allow a 20px tall
+ table header / footer, but the last one isn't. -->
+<div style="columns:3; width:300px; gap:0; column-fill:auto; height:100px;">
+ <div style="columns:1; column-fill:auto; height:250px;">
+ <div style="display:table;">
+ <div style="display:table-header-group; break-inside:avoid;">
+ <div style="width:20px; height:20px; background:blue;"></div>
+ </div>
+ <div style="display:table-footer-group; break-inside:avoid;">
+ <div style="width:20px; height:20px; background:hotpink;"></div>
+ </div>
+ <div style="height:130px;"></div>
+ </div>
+ </div>
+</div>