caption-margin-002.html (895B)
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-break-3/#box-splitting"> 4 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht"> 5 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 6 <div style="width:100px; height:100px; background:red;"> 7 <div style="columns:2; gap:0; column-fill:auto; height:150px;"> 8 <div style="height:100px; background:green;"></div> 9 <div style="display:table;"> 10 <div style="display:table-caption;"></div> 11 <!-- We want a break opportunity before the second caption inside the 12 table, which is why we need another empty caption before it. --> 13 <div style="display:table-caption; margin-top:200px; contain:size; width:50px; height:100px; background:green;"></div> 14 </div> 15 </div> 16 </div>