break-avoidance-in-bottom-caption.tentative.html (1402B)
1 <!DOCTYPE html> 2 <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> 3 <link rel="help" href="https://www.w3.org/TR/css-tables-3/#repeated-headers"> 4 <link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1356236"> 5 <link rel="match" href="../../../reference/ref-filled-green-100px-square.xht"> 6 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 7 <div style="width:100px; height:100px; background:red;"> 8 <div style="columns:4; column-fill:auto; gap:0; height:150px;"> 9 <div style="display:table; width:100%;"> 10 <div style="display:table-header-group; break-inside:avoid;"> 11 <div style="height:20px; background:green;"></div> 12 </div> 13 <div style="height:80px; background:green;"></div> 14 <div style="height:50px;"></div> 15 <div style="height:80px; background:green;"></div> 16 <div style="height:50px;"></div> 17 <div style="height:30px; background:green;"></div> 18 <div style="display:table-caption; caption-side:bottom;"> 19 <div style="contain:size; height:50px; background:green;"></div> 20 <div style="contain:size; height:50px; background:green;"></div> 21 </div> 22 <div style="display:table-caption; caption-side:bottom; break-before:avoid;"> 23 <div style="contain:size; height:50px; background:green;"></div> 24 </div> 25 </div> 26 </div> 27 </div>