summaryrefslogtreecommitdiffstats
path: root/layout/reftests/writing-mode/tables/fixed-table-layout-021-ref.html
blob: 67214d000b1819aedfa48364d1537b3ffa82e664 (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
<!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: 52px;
  }
  div.stripe
  {
    display: inline-block;
    margin-left: 4px;
    margin-top: 8px;
    margin-bottom: 7px;
    width: 24px;
  }
  div.fuchsia
  {
    height: 52px;
    background-color: fuchsia;
  }
  div.olive
  {
    height: 88px;
    background-color: olive;
  }
  div.orange
  {
    height: 124px;
    background-color: orange;
  }
  </style>
 </head>
 <body>
   <p>Test passes if the colored (fuchsia, olive and orange) 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>
     <div><div class="fuchsia stripe"></div><div class="olive stripe"></div><div class="orange stripe"></div></div>
   </div>
 </body>
</html>