tor-browser

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

gap-normal-used-002.html (958B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Box Alignment Test: used value of *-gap:normal on flexbox</title>
      4 <link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
      5 <link rel="help" href="https://www.w3.org/TR/css-align-3/#column-row-gap">
      6 <meta assert="The used value row-gap:normal and column:normal normal is 0px in flexbox">
      7 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht" />
      8 <style>
      9 #flex {
     10  colum-gap: normal;
     11  row-gap: normal;
     12  display: flex;
     13  flex-flow: wrap;
     14  max-width: 145px; /* more than 100, less than 150, to force wrapping and get 2 items per line*/
     15 
     16  position: absolute;
     17 }
     18 #flex * {
     19  width: 50px;
     20  height: 50px;
     21  background: green
     22 }
     23 #red {
     24  width: 100px;
     25  height: 100px;
     26  background: red;
     27 }
     28 </style>
     29 
     30 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     31 
     32 <div id=flex><span></span><span></span><span></span><span></span></div>
     33 <div id=red></div>