tor-browser

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

line-edge-white-space-collapse-001.html (1331B)


      1 <!doctype html>
      2 <html>
      3 <meta charset=utf-8>
      4 <link rel="author" title="Mike Bremford" href="mailto:mike@bfo.com">
      5 <link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
      6 <link rel="help" href="https://www.w3.org/TR/css-text-3/#white-space-phase-2">
      7 <link rel="match" href="reference/line-edge-white-space-collapse-001-ref.html">
      8 <title>White space collapse at end of line collapses through an inline</title>
      9 <style>
     10 div { font: 30px/30px monospace; }
     11 span span { border-left: 30px solid green }
     12 aside {
     13  font: 30px/30px monospace;
     14  width: 30px;
     15  background: red;
     16  position: absolute;
     17  z-index:-1;
     18  height: 300px;
     19 
     20  /* to avoid accidental bleeding at the edges by a pixel or a sub pixel*/
     21  box-sizing: border-box;
     22  border: solid white 5px;
     23  margin-left: 1ch;
     24 }
     25 </style>
     26 
     27 <p>Test passes if there is a single green rectangle next to ABCDEFGHIJ, and no red.
     28 
     29 <aside></aside>
     30 <div><span>A   <span>  </span>   </span></div>
     31 <div><span>B  <span>  </span>  </span></div>
     32 <div><span>C  <span>  </span> </span></div>
     33 <div><span>D  <span>  </span></span></div>
     34 <div><span>E <span>  </span>  </span></div>
     35 <div><span>F <span>  </span> </span></div>
     36 <div><span>G <span>  </span></span></div>
     37 <div><span>H<span>  </span> </span></div>
     38 <div><span>I<span>  </span></span></div>
     39 <div><span>J<span></span></span></div>