summaryrefslogtreecommitdiffstats
path: root/layout/reftests/writing-mode/1157752-upright-bidi-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/writing-mode/1157752-upright-bidi-ref.html')
-rw-r--r--layout/reftests/writing-mode/1157752-upright-bidi-ref.html43
1 files changed, 43 insertions, 0 deletions
diff --git a/layout/reftests/writing-mode/1157752-upright-bidi-ref.html b/layout/reftests/writing-mode/1157752-upright-bidi-ref.html
new file mode 100644
index 0000000000..6be780e664
--- /dev/null
+++ b/layout/reftests/writing-mode/1157752-upright-bidi-ref.html
@@ -0,0 +1,43 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<style>
+body {
+ -webkit-writing-mode: vertical-rl;
+ writing-mode: vertical-rl;
+ font: 16px/24px sans-serif;
+ padding: 20px;
+ width: 300px;
+ height: 400px;
+}
+.sideways {
+ -webkit-text-orientation: sideways-right;
+ text-orientation: sideways-right;
+}
+.upright {
+ -webkit-text-orientation: upright;
+ text-orientation: upright;
+}
+</style>
+</head>
+
+<body>
+<div class=sideways>
+Bidi עברית text
+</div>
+
+<div dir=rtl class=sideways>
+Bidi עברית text
+</div>
+
+<div class=upright>
+<bdo dir=ltr>Bidi עברית text</bdo>
+</div>
+
+<div dir=rtl class=upright>
+<bdo dir=ltr>Bidi עברית text</bdo>
+</div>
+
+</body>
+</html>