tor-browser

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

hyphens-none-011.html (1138B)


      1 <!DOCTYPE html>
      2 
      3  <meta charset="UTF-8">
      4 
      5  <title>CSS Text: 'hyphens: none' with explicit hyphenation opportunities</title>
      6 
      7  <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
      8  <link rel="help" href="https://www.w3.org/TR/css-text-3/#hyphenation">
      9  <link rel="match" href="reference/hyphens-manual-010-ref.html">
     10 
     11  <meta content="This test checks that, when 'hyphens' is set to 'none', then long words are not hyphenated, even if characters inside long words explicitly define hyphenation opportunities." name="assert">
     12 
     13  <style>
     14  div
     15    {
     16      border: black solid 2px;
     17      font-family: monospace;
     18      font-size: 32px;
     19      margin-bottom: 0.25em;
     20      width: 10ch;
     21    }
     22 
     23  div#test
     24    {
     25      hyphens: none;
     26    }
     27  </style>
     28 
     29  <body>
     30 
     31  <p>Test passes if the characters inside of each black-bordered rectangles are laid out identically. Only "ucleic" should be outside of the black-bordered rectangles.
     32 
     33  <div id="test">Deoxy&shy;ribo&shy;nucleic acid</div>
     34 
     35  <div id="reference">Deoxyribonucleic acid</div>
     36 
     37  <!--
     38 
     39  Extended form of abreviation DNA
     40 
     41  -->