hyphens-none-013.html (859B)
1 <!DOCTYPE html> 2 3 <meta charset="UTF-8"> 4 5 <title>CSS Text: 'hyphens: none', hyphen 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-010H-ref.html"> 10 11 <meta content="This test checks that 'hyphens: none' does not suppress line wrapping after encountering an actual hyphen character (U+2010)."> 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‐lation imple‐menta‐tion now</div> 25 26 <!-- 27 Expected result: 28 regu- 29 lation 30 imple- 31 menta- 32 tion 33 -->