multi-line-row-flex-fragmentation-080-print.html (1041B)
1 <!DOCTYPE html> 2 <!-- This test is adapted from https://bugzilla.mozilla.org/show_bug.cgi?id=1677339#c0 --> 3 <html> 4 <meta charset="utf-8"> 5 <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com"> 6 <link rel="author" title="Mozilla" href="https://www.mozilla.org/"> 7 <link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#pagination"> 8 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1743890"> 9 <link rel="match" href="multi-line-row-flex-fragmentation-080-print-ref.html"> 10 11 <style> 12 @page { size: 5in 3in; margin: 0.5in; } 13 14 :root { 15 print-color-adjust: exact; 16 } 17 18 body { margin: 0; } 19 20 .flexbox { 21 display: flex; 22 border: 0.25in solid black; 23 font-size: 0.25in; 24 flex-flow: row wrap; 25 } 26 .item { 27 width: 100%; 28 } 29 </style> 30 31 <!-- This div makes the flexbox not at the top of first page. --> 32 <div style="height: 1in; background: gray;"></div> 33 34 <div class="flexbox"> 35 <div class="item">1<br>2<br>3<br>4</div> 36 <div class="item">5</div> 37 </div> 38 </html>