layout/reftests/bidi/dirAuto/bdi-auto-dir-default-ref.html

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

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

mercurial