break-spaces-tab-001.html (868B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Text level 3 Test: wrapping opportunity after break-spaces tabs</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/#white-space-phase-1"> 6 <link rel="match" href="reference/pre-wrap-001-ref.html"> 7 <meta name="assert" content="There is a wrapping opportunity at the end of a sequence of tabs with white-space:break-spaces"> 8 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 9 <style> 10 div { 11 font: 20px/1 Ahem; 12 } 13 #test { 14 white-space: break-spaces; 15 color: green; 16 width: 16ch; 17 } 18 #ref { 19 color: red; 20 position: absolute; 21 z-index:-1; 22 } 23 </style> 24 25 <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> 26 <div id=ref>XX<br>XX</div> 27 <div id=test>XX		XX</div>