tor-browser

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

line-breaking-atomic-007.html (747B)


      1 <!doctype html>
      2 <html>
      3 <meta charset="utf-8">
      4 <title>CSS Text — atomic inline line breaks before and after</title>
      5 <meta name=assert content="There's a soft wrap opportunity before and after an atomic inline">
      6 <link rel=match href="reference/line-breaking-atomic-007-ref.html">
      7 <link rel=help href="https://www.w3.org/TR/css-text-3/#line-break-details">
      8 <link rel=author title="Florian Rivoal" href="https://florian.rivoal.net">
      9 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     10 <style>
     11 div {
     12  font: 50px/1 Ahem;
     13  width: 40px;
     14  height: 140px;
     15  background: red;
     16  color: green;
     17 }
     18 span {
     19  display: inline-block;
     20 }
     21 </style>
     22 
     23 <p>Test passes if there is a green rectangle and <strong>no red</strong>.
     24 
     25 <div>A<span>B</span>C</div>