tor-browser

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

hyphenate-character-003.html (888B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Text test: hyphenate-character</title>
      4 <link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com">
      5 <link rel="help" href="https://drafts.csswg.org/css-text-4/#hyphenate-character">
      6 <link rel="match" href="reference/hyphenate-character-003-ref.html">
      7 <meta name="assert" content="Specifies the string that appears at the end of the line before a hyphenation break">
      8 <style>
      9 div {
     10  font: 16px monospace;
     11  width: 5.5ch;  /* wide enough that the first potential break in "re-al-iza-tion" should NOT be used */
     12  hyphens: manual;
     13  hyphenate-character: "\2022";
     14 }
     15 </style>
     16 
     17 <p>Test passes if the words below are hyphenated <b>using a bullet (&#x2022;) character</b>.
     18 
     19 <div lang="en">
     20 im&shy;ple&shy;men&shy;ta&shy;tion<br><br>
     21 ini&shy;tial&shy;iza&shy;tion<br><br>
     22 re&shy;al&shy;iza&shy;tion<br><br>
     23 hy&shy;phen&shy;ation
     24 </div>