tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

single-line-column-flex-fragmentation-069c-print.html (1055B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>Test that in a column flex container, the break-after values on flex items are honored</title>
      4 <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
      5 <link rel="author" title="Mozilla" href="https://www.mozilla.org/">
      6 <link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#pagination">
      7 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1890238">
      8 <link rel="match" href="single-line-column-flex-fragmentation-069-print-ref.html">
      9 
     10 <style>
     11 @page { size: 5in 3in; margin: 0.5in; }
     12 body {
     13  margin: 0;
     14  font-size: 0.25in;
     15 }
     16 .flexbox {
     17  display: flex;
     18  flex-direction: column;
     19  border: 0.25in solid black;
     20 }
     21 .flexbox > div {
     22  border: 4px solid purple;
     23 }
     24 .flexbox > .nested {
     25  border: 4px solid gold;
     26 }
     27 </style>
     28 
     29 <div>Before Flexbox</div>
     30 <div class="flexbox">
     31  <div class="flexbox nested" style="break-after: page">
     32    <div>1</div>
     33    <div>2</div>
     34  </div>
     35  <div class="flexbox nested">
     36    <div>3</div>
     37    <div>4</div>
     38  </div>
     39 </div>
     40 <div>After Flexbox</div>