bidi-first-letter-005.xht (991B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>CSS Test: :first-letter and bidi-override - inherent rtl text</title> 5 <link rel="author" title="Eira Monstad, Opera Software ASA" href="mailto:public-testsuites@opera.com"/> 6 <link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#first-letter"/> 7 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#propdef-unicode-bidi"/> 8 <meta name="assert" content=":first-letter applied to inherent RTL text reordered with bidi-override should pick out the first logical letter"/> 9 <style type="text/css"><![CDATA[ 10 p.test { 11 font-size: 2em; 12 unicode-bidi: bidi-override; 13 direction:ltr; 14 } 15 p.test:first-letter { 16 color:blue; 17 } 18 ]]></style> 19 </head> 20 <body> 21 22 <p>The א below should be blue.</p> 23 24 <p class="test">אבב</p> 25 26 </body> 27 </html>