hyphens-out-of-flow-001.html (985B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Text Test: manual hyphenation and out-of-flow</title> 4 <link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> 5 <link rel="help" href="https://drafts.csswg.org/css-text-3/#hyphens-property"> 6 <link rel="match" href="reference/hyphens-out-of-flow-001-ref.html"> 7 <meta name="assert" content="the presence of an out of flow element has no effect on manual hyhenation"> 8 <style> 9 span { 10 position: absolute; 11 color: transparent; 12 } 13 div { 14 border: solid orange; 15 margin: 5px; 16 width: 6ch; 17 hyphens: manual; 18 } 19 </style> 20 21 <p>Test passes if the text in all orange boxes below is identical (including the presence and position of a hyphen). 22 23 <div>high­way</div> 24 <div><span>abspos</span>high­way</div> 25 <div>h<span>abspos</span>igh­way</div> 26 <div>high<span>abspos</span>­way</div> 27 <div>high­<span>abspos</span>way</div> 28 <div>high­wa<span>abspos</span>y</div> 29 <div>high­way<span>abspos</span></div>