bidi-first-letter-002.xht (843B)
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 inherent rtl</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 <meta name="assert" content=":first-letter applied to inherent RTL text should start from the right"/> 8 <style type="text/css"><![CDATA[ 9 .test {font-size: 2em;} 10 .test:first-letter {color:blue;} 11 ]]></style> 12 </head> 13 <body> 14 15 <p>The rightmost letter (א) in the line below should be blue.</p> 16 17 <p class="test">אבב בבב בבב</p> 18 19 </body> 20 </html>