summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bidi/83958-1b.html
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /layout/reftests/bidi/83958-1b.html
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'layout/reftests/bidi/83958-1b.html')
-rw-r--r--layout/reftests/bidi/83958-1b.html32
1 files changed, 32 insertions, 0 deletions
diff --git a/layout/reftests/bidi/83958-1b.html b/layout/reftests/bidi/83958-1b.html
new file mode 100644
index 000000000..22d72a49c
--- /dev/null
+++ b/layout/reftests/bidi/83958-1b.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="UTF-8">
+ <title>Bidirectional Text Test 2 - CSS</title>
+ <style>
+ body { font-size: 300%; }
+ p { font-family: monospace; text-align: left; margin: 0; }
+.rtl { direction: rtl; }
+.ltr { direction: ltr; }
+.rle { direction: rtl; unicode-bidi: embed; }
+.lre { direction: ltr; unicode-bidi: embed; }
+.rlo { direction: rtl; unicode-bidi: bidi-override; }
+.lro { direction: ltr; unicode-bidi: bidi-override; }
+.embed { unicode-bidi: embed; }
+.override { unicode-bidi: bidi-override; }
+ </style>
+ </head>
+<!-- Testcases based on https://dbaron.org/css/test/bidi2 by L. David Baron. -->
+ <body>
+ <p>The following lines should all read "ABCDEFGHI":</p>
+ <p>ABCDEFGHI</p>
+ <p class="rtl">ABCDEFGHI</p>
+ <p class="rtl">ABC<span>DEF</span>GHI</p>
+ <p class="rlo">IHGFEDCBA</p>
+ <p class="rlo">IHG<span>FED</span>CBA</p>
+ <p class="rlo">IHG<span class="embed">DEF</span>CBA</p>
+ <p class="rlo">IHG<span class="override">FED</span>CBA</p>
+ <p class="rlo">IHG<span style="unicode-bidi: inherit">FED</span>CBA</p>
+ <p class="rlo">IHG<span class="lro">DEF</span>CBA</p>
+ </body>
+</html>