summaryrefslogtreecommitdiffstats
path: root/layout/reftests/writing-mode/tables/fixed-table-layout-023-ref.html
blob: 4211763ab463982b99a3a38eea9bdae0a2c3eaf5 (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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
 <head>
  <title>CSS Reftest Reference</title>
  <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
  <link rel="author" title="Adapted for vertical layout by Simon Montagu" href="http:/mozilla.org/">
  <style type="text/css">
  div.wrapper {
    writing-mode: vertical-lr;
    margin-top: 34px;
  }
  div.stripe
  {
    display: inline-block;
    margin-left: 4px;
    margin-top: 11px;
    margin-bottom: 7px;
    width: 24px;
  }
  div.fuchsia
  {
    height: 52px;
    background-color: fuchsia;
  }
  div.olive
  {
    height: 100px;
    background-color: olive;
  }
  div.orange
  {
    height: 124px;
    background-color: orange;
  }
  div.lime
  {
    height: 124px;
    background-color: lime;
  }
  </style>
 </head>
 <body>
   <p>Test passes if the colored (fuchsia, olive, orange and lime) stripes have respectively the same heights and the same vertical positions.</p>
   <div class="wrapper">
     <div><div class="fuchsia stripe"></div><div class="olive stripe"></div><div class="orange stripe"></div><div class="lime stripe"></div></div>
     <div><div class="fuchsia stripe"></div><div class="olive stripe"></div><div class="orange stripe"></div><div class="lime stripe"></div></div>
   </div>
 </body>
</html>