layout/reftests/bidi/83958-1c.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.)

     1 <!DOCTYPE html>
     2 <html>
     3  <head>
     4   <meta charset="UTF-8">
     5   <title>Bidirectional Text Test 2 - HTML</title>
     6   <style>
     7    p { font-family: monospace; text-align: left; }
     8 .rtl { direction: rtl; }
     9 .ltr { direction: ltr; }
    10 .rle { direction: rtl; unicode-bidi: embed; }
    11 .lre { direction: ltr; unicode-bidi: embed; }
    12 .rlo { direction: rtl; unicode-bidi: bidi-override;}
    13 .lro { direction: ltr; unicode-bidi: bidi-override; }
    14 .embed { unicode-bidi: embed; }
    15 .override { unicode-bidi: bidi-override; }
    16   </style>
    17  </head>
    18 <!-- Testcases based on http://dbaron.org/css/test/bidi2_html by L. David Baron. -->
    19  <body>
    20   <p>The following lines should all read "ABCDEFGHI":</p>
    21   <p>ABCDEFGHI</p>
    22   <p class="rtl">ABCDEFGHI</p>
    23   <p class="rtl">ABC<span>DEF</span>GHI</p>
    24   <p class="rlo">IHGFEDCBA</p>
    25   <p class="rlo">IHG<span>FED</span>CBA</p>
    26   <p class="rlo">IHG<span dir="rtl">DEF</span>CBA</p>
    27   <p class="rlo">IHG<bdo dir="rtl">FED</bdo>CBA</p>
    28   <p class="rlo">IHG<span style="unicode-bidi: inherit">FED</span>CBA</p>
    29   <p class="rlo">IHG<bdo dir="ltr">DEF</bdo>CBA</p>
    30  </body>
    31 </html>

mercurial