summaryrefslogtreecommitdiffstats
path: root/layout/reftests/writing-mode/1193519-sideways-lr-4.html
blob: f01956e3f69387be02a9eda0a38c296003c029a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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>