summaryrefslogtreecommitdiffstats
path: root/layout/reftests/writing-mode/1193519-sideways-lr-4.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/writing-mode/1193519-sideways-lr-4.html')
-rw-r--r--layout/reftests/writing-mode/1193519-sideways-lr-4.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/layout/reftests/writing-mode/1193519-sideways-lr-4.html b/layout/reftests/writing-mode/1193519-sideways-lr-4.html
new file mode 100644
index 0000000000..f01956e3f6
--- /dev/null
+++ b/layout/reftests/writing-mode/1193519-sideways-lr-4.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset=utf-8>
+<style>
+div { display: inline-block; border: 1px solid silver; padding: 5px;
+ line-height: 2em; writing-mode: sideways-lr; }
+span { padding: 5px; color: transparent; }
+span:nth-child(1) { background: red; }
+span:nth-child(2) { background: orange; }
+span:nth-child(3) { background: yellow; }
+span:nth-child(4) { background: green; }
+span:nth-child(5) { background: blue; }
+span:nth-child(6) { background: indigo; }
+span:nth-child(7) { background: violet; }
+</style>
+</head>
+
+<body>
+
+<div><span>"One</span> <span>two</span>
+ <span>three</span> <span>four</span> <span>five</span>
+ <span>six</span> <span>seven."</span></div>
+
+<div dir=rtl><span>"One</span> <span>two</span>
+ <span>three</span> <span>four</span> <span>five</span>
+ <span>six</span> <span>seven."</span></div>