tab-size-integer-001.html (1061B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>CSS Text Test: tab-size: 4</title> 5 <link rel="author" title="David Storey" href="mailto:david@openweb.io"> 6 <link rel="reviewer" title="Rebecca Hauck" href="mailto:rhauck@adobe.com"> 7 <link rel="help" href="http://www.w3.org/TR/css-text-3/#tab-size"> 8 <link rel="match" href="tab-size-integer-001-ref.html"> 9 <meta name="assert" content="Tab should be rendered as 4 times the space character’s advance width (U+0020)"> 10 <style type="text/css"> 11 .container { 12 position: absolute; 13 } 14 .green { 15 position: absolute; 16 top: 0; 17 left: 0; 18 background: green; 19 } 20 .red { 21 position: absolute; 22 top: 0; 23 left: 0; 24 background: red; 25 tab-size: 4; 26 } 27 </style> 28 </head> 29 <body> 30 <p>The test passes if there is no red.</p> 31 <div class="container"> 32 <pre class="red">	</pre> 33 <pre class="green"> </pre> 34 </div> 35 </body> 36 </html>