letter-spacing-bidi-005-ref.xht (835B)
1 <html xmlns="http://www.w3.org/1999/xhtml"> 2 <head> 3 <meta charset="utf-8" /> 4 <link rel="author" title="Mike Bremford" href="http://bfo.com" /> 5 <style> 6 .control { 7 font: 50px/1 monospace; 8 font-kerning: none; 9 white-space: pre; 10 } 11 .red { 12 color: red; 13 position: absolute; 14 z-index: -1; 15 } 16 .control span { 17 background: green; 18 } 19 </style> 20 </head> 21 <body> 22 <p>Test passes if no red is visible except for anti-aliasing differences, and the green rectangle does not extend beyond B to C.</p> 23 <!-- A <ls> <ls> <bg>B <ls> bet <ls> alef <ls> C</bg> <ls> D <gap> --> 24 <div class="control red">A <span>B א ב C</span> D</div> 25 <div class="control">A <span>B א ב C</span> D</div> 26 </body> 27 </html>