letter-spacing-bidi-003-ref.xht (1047B)
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 width: 14ch; 9 font-kerning: none; 10 border: 1px solid black; 11 white-space: pre; 12 } 13 .red { 14 color: red; 15 position: absolute; 16 z-index: -1; 17 } 18 </style> 19 </head> 20 <body> 21 <p>Test passes if no red is visible except for anti-aliasing differences.</p> 22 <!-- bet <ls> alef <ls> <space stretched from justification> A <ls> B --> 23 <div class="control red">א ב<div style="float: right">A B</div></div> 24 <div class="control">א ב<div style="float: right">A B</div></div> 25 26 <!-- A <ls> B <ls> <space stretched from justification> alef <ls> bet --> 27 <div class="control red">A B<div style="float: right">א ב</div></div> 28 <div class="control">A B<div style="float: right">א ב</div></div> 29 </body> 30 </html>