tor-browser

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

flexbox_interactive_break-after-item.html (728B)


      1 <!DOCTYPE html>
      2 <title>flexbox | break-after, singleline, item</title>
      3 <link rel="author" href="http://opera.com" title="Opera Software">
      4 <link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#pagination">
      5 <meta name="flags" content="interact paged">
      6 <style>
      7 * {widows: 1; orphans: 1;}
      8 div {
      9 background: red;
     10 border: 1px solid white;
     11 width: 20em;
     12 
     13 display: flex;
     14 }
     15 p {
     16 background: white;
     17 margin: 0;
     18 height: 2em;
     19 
     20 flex: 1;
     21 }
     22 @media projection, print {
     23 p {
     24 	break-after: always;
     25 }
     26 }
     27 </style>
     28 
     29 <h4>There should not be any red on the first page either onload, in
     30 print preview, or fullscreen. Enter fullscreen or print preview.
     31 You should not see the word fail after that.</h4>
     32 
     33 <div>
     34 <p></p>
     35 </div>
     36 <h1>fail</h1>