break-before-expansion-002.html (700B)
1 <!DOCTYPE html> 2 <link rel="help" href="https://drafts.csswg.org/css-tables-3/#fragmentation"> 3 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht"> 4 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 5 <style> 6 table { border-spacing: 0; } 7 td { padding: 0; } 8 </style> 9 <div style="columns: 2; height: 100px; width: 100px; gap: 0; background: red; position: relative;"> 10 <table style="background: green;"> 11 <tbody><tr><td style="height: 50px; width: 50px;"></td></tr></tbody> <!-- We should have a column break after this section. --> 12 <tbody><tr><td style="height: 100px; width: 50px; break-before: column;"></td></tr></tbody> 13 </table> 14 </div>