1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/bidi/dirAuto/bdi-auto-dir-default-ref.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,34 @@ 1.4 +<!DOCTYPE html> 1.5 +<html> 1.6 + <head> 1.7 + <meta charset="utf-8"> 1.8 + <title>HTML Test: BDI: paragraph-level container</title> 1.9 + <link rel="reference" href="bdi-auto-dir-default-ref.html"> 1.10 + <link rel="author" title="Aharon Lanin" href="mailto:aharon@google.com"> 1.11 + <link rel="author" title="HTML5 bidi test WG" href="mailto:html5bidi@googlegroups.com"> 1.12 + <link rel="help" href="http://dev.w3.org/html5/spec/Overview.html#the-bdi-element"> 1.13 + <meta name="assert" content=" 1.14 + 'The dir global attribute defaults to auto on this element (it never inherits from the parent 1.15 + element like with other elements).'"> 1.16 + <style> 1.17 + body{ 1.18 + font-size:2em; 1.19 + } 1.20 + .box { 1.21 + border: medium solid gray; 1.22 + width: 500px; 1.23 + margin: 20px; 1.24 + } 1.25 + </style> 1.26 + </head> 1.27 + <body> 1.28 + <!-- Key to entities used below: 1.29 + א ... ו - The first six Hebrew letters (strongly RTL). 1.30 + ‭ - The LRO (left-to-right-override) formatting character. 1.31 + ‬ - The PDF (pop directional formatting) formatting character; closes LRO. --> 1.32 + <div class="box"> 1.33 + <div dir="ltr">‭[:)], [+- a ב], [d ג 1]...‬</div> 1.34 + <div dir="rtl">‭...[d ג 1] ,[+- a ב] ,[:)]‬</div> 1.35 + </div> 1.36 + </body> 1.37 +</html>