tor-browser

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

line-breaking-atomic-001.html (761B)


      1 <!doctype html>
      2 <html>
      3 <meta charset="utf-8">
      4 <title>CSS Text — NBSP before atomic inline</title>
      5 <meta name=assert content="There's a soft wrap opportunity between an atomic inline and a preceeding NBSP">
      6 <link rel=help href="https://www.w3.org/TR/css-text-3/#line-break-details">
      7 <link rel=match href="../../reference/ref-filled-green-100px-square.xht">
      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  color: green;
     14  width: 100px;
     15  height: 100px;
     16  background: red;
     17 }
     18 span {
     19  display: inline-block;
     20 }
     21 </style>
     22 
     23 <p>Test passes if there is a filled green square and <strong>no red</strong>.
     24 
     25 <div>AB&nbsp;<span>CD</span></div>