summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-writing-modes/ortho-htb-alongside-vrl-floats-010-ref.xht
blob: ac17988e8e4bc9fa8a77c18e5fbbce2aa742db6b (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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

 <head>

  <title>CSS Reftest Reference</title>

  <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />

  <meta content="image" name="flags" />

  <style type="text/css"><![CDATA[
  html
    {
      height: 100%;
    }

  /*
    minimum used height of the document root element is 176px;
    less than 176px will make the reference file no longer reliable.

       36px : img#pass-fail-conditions-sentence's intrinsic height
     +
        4px : descender space below baseline
     =========
       40px : 1st table (height: 25%)
    multiplied by
        4
     =========
      160px : height of the 3 tables
    +
        8px : body's margin-top
    +
        8px : body's margin-bottom
     =========
      176px
  */

  body
    {
      height: calc(100% - 16px);
    }

  table
    {
      border-spacing: 0px;
      height: 25%;
      margin: 0px;
      table-layout: fixed;
      width: 100%;
    }

  td
    {
      padding: 0px;
      vertical-align: top;
    }
  ]]></style>
 </head>

 <body>

  <table id="first-table-top">

  <col></col><col width="100"></col><col width="100"></col><col width="100"></col><col width="324"></col>

    <tr>
      <td></td>
      <td style="background-color: fuchsia;">&nbsp;</td>
      <td style="background-color: olive;">&nbsp;</td>
      <td style="background-color: blue;">&nbsp;</td>
      <td style="padding-left: 16px; padding-right: 8px;"><img id="pass-fail-conditions-sentence" src="support/ortho-htb-alongside-vrl-floats-002-exp-res.png" alt="Image download support must be enabled" />
      <!--
      The image says:
      Test passes if the orange rectangle
      is below the blue rectangle.
  --></td>
    </tr>

  </table>



  <table id="second-table-middle">

  <col></col><col width="100"></col><col width="100"></col><col width="100"></col><col width="324"></col>

    <tr>
      <td></td>
      <td style="background-color: fuchsia;"></td>
      <td style="background-color: olive;">&nbsp;</td>
      <td style="background-color: orange;">&nbsp;</td>
      <td></td>
    </tr>

  </table>



  <table id="third-table-middle">

  <col></col><col width="100"></col><col width="100"></col><col width="100"></col><col width="324"></col>

    <tr>
      <td></td>
      <td style="background-color: fuchsia;"></td>
      <td></td>
      <td style="background-color: orange;">&nbsp;</td>
      <td></td>
    </tr>

  </table>



  <table id="fourth-table-bottom">

  <col></col><col width="100"></col><col width="100"></col><col width="100"></col><col width="324"></col>

    <tr>
      <td></td><td></td><td></td><td></td>
    </tr>

  </table>

 </body>
</html>