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 (•) character</b>. 18 19 <div lang="en"> 20 im­ple­men­ta­tion<br><br> 21 ini­tial­iza­tion<br><br> 22 re­al­iza­tion<br><br> 23 hy­phen­ation 24 </div>