summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bidi/unicode-bidi-isolate-aharon.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bidi/unicode-bidi-isolate-aharon.html')
-rw-r--r--layout/reftests/bidi/unicode-bidi-isolate-aharon.html72
1 files changed, 72 insertions, 0 deletions
diff --git a/layout/reftests/bidi/unicode-bidi-isolate-aharon.html b/layout/reftests/bidi/unicode-bidi-isolate-aharon.html
new file mode 100644
index 000000000..175150b46
--- /dev/null
+++ b/layout/reftests/bidi/unicode-bidi-isolate-aharon.html
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<html><head>
+<title>Test cases for unicode-bidi:isolate</title>
+<style>
+ .isolate {
+ unicode-bidi: isolate;
+ }
+</style>
+</head><body>
+opposite-to-base isolate followed by number.
+<div>
+ <div class="test">
+ <span class="isolate">&#x05D0;</span> (3 reviews)
+ </div>
+</div>
+<hr>
+opposite-to-base isolate with opposite-to-base text before it with neutrals in between.
+<div>
+ <div class="test">
+ &#x05D0;: <span class="isolate">&#x05D1;</span>
+ </div>
+</div>
+<hr>
+opposite-to-base isolate with opposite-to-base text before it and nothing in between.
+<div>
+ <div class="test">
+ &#x05D0;<span class="isolate">&#x05D1;</span>
+ </div>
+</div>
+<hr>
+two opposite-to-base isolates with neutrals in between.
+<div>
+ <div class="test">
+ <span class="isolate">&#x05D0;</span> = <span class="isolate">&#x05D1;</span>
+ </div>
+</div>
+<hr>
+two opposite-to-base isolates with nothing in between.
+<div>
+ <div class="test">
+ <span class="isolate">&#x05D0;</span><span class="isolate">&#x05D1;</span>
+ </div>
+</div>
+<hr>
+same-as-base isolate preceded by opposite-to-base text and followed by number
+<div dir="rtl">
+ <div class="test">
+ see <span class="isolate">&#x05D0;</span><sup>3</sup>
+ </div>
+</div>
+<hr>
+same-as-base isolate surrounded by opposite-to-base text
+<div dir="rtl">
+ <div class="test">
+ with <span class="isolate">&#x05D0;</span>=<span class="isolate">&#x05D1;</span> everywhere
+ </div>
+</div>
+<hr>
+chimeric isolate surrounded by chimeric text
+<div>
+ <div class="test">
+ about <span class="isolate">that &#x05D0;</span> - &#x05D1;
+ </div>
+</div>
+<hr>
+nested chimeric isolates surrounded by chimeric text
+<div>
+ <div class="test">
+ about <span class="isolate">that <span class="isolate">strange &#x05D0;</span> - &#x05D1;</span> - &#x05D2;
+ </div>
+</div>
+</body></html>