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

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

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 <!--
michael@0 31 In each DIV below:
michael@0 32 - the first BDI, having no characters with strong direction, should be LTR by default;
michael@0 33 - the second BDI, having an LTR character first, should be LTR by default;
michael@0 34 - the thord BDI, having an RTL character first, should be RTL by default.
michael@0 35 -->
michael@0 36 <div dir="ltr"><bdi>[:)]</bdi>, <bdi>[+- a &#x05D1;]</bdi>, <bdi>[1 &#x05D2; d]</bdi>...</div>
michael@0 37 <div dir="rtl"><bdi>[:)]</bdi>, <bdi>[+- a &#x05D1;]</bdi>, <bdi>[1 &#x05D2; d]</bdi>...</div>
michael@0 38 </div>
michael@0 39 </body>
michael@0 40 </html>

mercurial