tor-browser

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

hyphens-none-012.html (871B)


      1 <!DOCTYPE html>
      2 
      3  <meta charset="UTF-8">
      4 
      5  <title>CSS Text: 'hyphens: none', hyphen-minus character and line wrapping</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-auto-010M-ref.html">
     10 
     11  <meta content="This test checks that 'hyphens: none' does not suppress line wrapping after encountering an actual hyphen-minus character (U+002D).">
     12 
     13  <style>
     14  div
     15    {
     16      border: black solid 2px;
     17      font-family: monospace;
     18      font-size: 32px;
     19      hyphens: none;
     20      width: 6ch;
     21    }
     22  </style>
     23 
     24  <div>regu&#x002D;lation imple&#x002D;menta&#x002D;tion now</div>
     25 
     26  <!--
     27        Expected result:
     28        regu-
     29        lation
     30        imple-
     31        menta-
     32        tion
     33  -->