letter-spacing-bidi-004-ref.xht (930B)
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 boxes are the width of a single letter.</p> 23 <!-- A <ls> B <ls> <bg>C</bg> <ls> gimel <ls> bet <ls> <bg>alef</bg> <gap> --> 24 <div class="control red">A B <span>C</span> ב ג <span style="unicode-bidi:embed">א</span></div> 25 <div class="control">A B <span>C</span> ב ג <span style="unicode-bidi:embed">א</span></div> 26 </body> 27 </html>