tab-size-inline-001.html (711B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Text level 3 Test: inline box tab-size</title> 4 <link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/"> 5 <link rel="help" href="https://drafts.csswg.org/css-text-3/#tab-size-property"> 6 <link rel="match" href="tab-size-inline-001-ref.html"> 7 <meta name="assert" content="tab-size applies to inline boxes"> 8 <style> 9 div { 10 font-family: monospace; 11 white-space: pre; 12 tab-size: 2; 13 } 14 .t5 { 15 tab-size: 5; 16 } 17 .t10 { 18 tab-size: 10; 19 } 20 </style> 21 22 <p>Test passes if the three “A” letters below are vertically aligned with eachother. 23 24 <div> 25 A 26 <span class=t5>		A</span> 27 <span class=t10>	A</span> 28 </div>