table-fragmentation-002a-print.html (868B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com"> 4 <link rel="author" title="Mozilla" href="https://www.mozilla.org/"> 5 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1863421"> 6 <link rel="match" href="table-fragmentation-002a-print-ref.html"> 7 8 <style> 9 @page { size: 5in 3in; margin: 0.5in; } 10 :root { 11 print-color-adjust: exact; 12 } 13 body { margin: 0; } 14 15 table { 16 inline-size: 3in; 17 border-spacing: 0.25in; 18 border: 0.25in solid black; 19 padding: 0.25in; 20 } 21 td { 22 vertical-align: top; 23 padding: 0; 24 border: 0.25in solid orange; 25 } 26 .content { 27 block-size: 1.5in; 28 background: gold; 29 } 30 </style> 31 32 <div style="height: 0.25in">BEFORE TABLE</div> 33 <table> 34 <tbody> 35 <tr> 36 <td><div class="content"></div></td> 37 </tr> 38 </tbody> 39 </table> 40 <div style="height: 0.25in">AFTER TABLE</div>