tor-browser

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

line-break-loose-hyphens-003.html (757B)


      1 <!doctype html>
      2 <html lang=en>
      3 <meta charset=utf-8>
      4 <title>CSS test: hyphens and line-break:loose</title>
      5 <link rel=author title="Florian Rivoal" href="https://florian.rivoal.net">
      6 <link rel=help href="https://drafts.csswg.org/css-text-3/#propdef-line-break">
      7 <link rel=match href="reference/line-break-loose-hyphens-003-ref.html">
      8 <meta name=assert content="breaks before U+2010 or U+2013 when line-break is loose are not allowed if the preceding character is not of line-breaking class ID.">
      9 <style>
     10 div {
     11  font-family: monospace;
     12  width: 2ch;
     13  line-break: loose;
     14 }
     15 </style>
     16 
     17 <p>The test passes if there are two lines of text below
     18 and they both end with a hyphen.
     19 (Note: the hyphens do no need to be the same size.)
     20 
     21 <div>aa‐</div>
     22 <div>aa–</div>