summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bidi/258928-1-ref.html
blob: 6a3c7d86480391aaee3719af3c7ae17660dfdf92 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!DOCTYPE HTML>
<html>
 <head>
  <title>RTL list displayed as inline broken</title>
  <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
  <style type="text/css">
ul {
 padding: 3px 10px;
 border-bottom: 3px solid #4949A9;
 white-space: nowrap;
 font-size: 13px;
}

ul li {
 display: inline;
 margin: 0;
 padding: 3px 10px;
 border-top: 1px solid gray;
 border-right: 1px solid gray;
 border-left: 1px solid gray;
 background-color: #f0f0f0;
}
  </style>
 </head>
 <body>
  <h1>Broken RTL list when displayed as inline</h1>
  <h2>One Item</h2>
  <ul class="tabs">
   <li>Tab</li>
  </ul>
  <h2>Two Items</h2>
  <ul class="tabs">
   <li>Tab</li>
   <li>Tab</li>
  </ul>
  <h2>Many</h2>
  <ul class="tabs">
   <li>Tab</li>
   <li>Tab</li>
   <li>Tab</li>
   <li>Tab</li>
   <li>Tab</li>
   <li>Tab</li>
   <li>Tab</li>
   <li>Tab</li>
   <li>Tab</li>
   <li>Tab</li>
  </ul>
 </body>
</html>