summaryrefslogtreecommitdiffstats
path: root/layout/reftests/writing-mode/1157752-upright-bidi.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/writing-mode/1157752-upright-bidi.html')
-rw-r--r--layout/reftests/writing-mode/1157752-upright-bidi.html43
1 files changed, 43 insertions, 0 deletions
diff --git a/layout/reftests/writing-mode/1157752-upright-bidi.html b/layout/reftests/writing-mode/1157752-upright-bidi.html
new file mode 100644
index 000000000..551e75b12
--- /dev/null
+++ b/layout/reftests/writing-mode/1157752-upright-bidi.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>
+Bidi עברית text
+</div>
+
+<div dir=rtl class=upright>
+Bidi עברית text
+</div>
+
+</body>
+</html>