bdi-auto-dir-default-ref.html (1301B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>HTML Test: BDI: paragraph-level container</title> 6 <link rel="reference" href="bdi-auto-dir-default-ref.html"> 7 <link rel="author" title="Aharon Lanin" href="mailto:aharon@google.com"> 8 <link rel="author" title="HTML5 bidi test WG" href="mailto:html5bidi@googlegroups.com"> 9 <link rel="help" href="http://dev.w3.org/html5/spec/Overview.html#the-bdi-element"> 10 <meta name="assert" content=" 11 'The dir global attribute defaults to auto on this element (it never inherits from the parent 12 element like with other elements).'"> 13 <style> 14 body{ 15 font-size:2em; 16 } 17 .box { 18 border: medium solid gray; 19 width: 500px; 20 margin: 20px; 21 } 22 </style> 23 </head> 24 <body> 25 <!-- Key to entities used below: 26 א ... ו - The first six Hebrew letters (strongly RTL). 27 ‭ - The LRO (left-to-right-override) formatting character. 28 ‬ - The PDF (pop directional formatting) formatting character; closes LRO. --> 29 <div class="box"> 30 <div dir="ltr">‭[:)], [+- a ב], [d ג 1]...‬</div> 31 <div dir="rtl">‭...[d ג 1] ,[+- a ב] ,[:)]‬</div> 32 </div> 33 </body> 34 </html>