summaryrefslogtreecommitdiffstats
path: root/layout/reftests/pagination/abspos-overflow-01.xhtml
blob: 12e12ce4d303f9fd26b5ee11f53a3273aa3cb284 (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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-paged">
 <head>
  <title>Multi-column Layout: AbsPos Pagination (Interlaced)</title>
  <link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact"/>
  <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#the-height-property"/>
  <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#length-units"/>
  <style type="text/css">
    /* If the reftest print size change, this needs to change too. */
    html, body {
      margin: 0;
      padding: 0;
    }

    .container {
      background: red;
      height: 24pt;
      position: relative;
    }
    .overflow {
      width: 10pt;
      border-bottom: lime 4px solid;
      top: 0;
    }
    .following {
      font-size: 10pt;
      line-height: 10pt;
      font-family: sans-serif;
      text-align: center;
      position: relative;
      background: white;
      width: 100pt;
    }
    #pageset {
      width: 100pt;
      border: silver 2pt;
      border-style: none solid;
      height: 6in;
    }
    .redline {
      float: left;
      margin-right: -103pt;
      width: 103pt;
      border-bottom: 8px solid red;
      position: relative;
      z-index: -1;
    }
    .r1 {
      height: 50%;
    }
    .r2 {
      height: 150%;
    }
    .r3 {
      height: 250%;
    }

    .ocontainer {
      height: 0;
    }
    .o1 { /* 3rd page */
      height: 5in;
    }
    .a1 { /* 1st page */
      position: absolute;
      height: 1in;
      width: 33pt;
    }
    .a2 { /* 2nd page */
      position: absolute;
      height: 3in;
      width: 25pt;
      margin-left: 25pt;
    }
    .a3 { /* 3rd page */
      position: absolute;
      height: 5in;
      margin-left: 10pt;
    }
    .a4 { /* 2nd page */
      width: 25pt;
      height: 3in;
    }

    .b1 { /* 3rd page */
      position: absolute;
      height: 336pt;
      margin-left: 20pt;
    }
    .b2 { /* 2nd page */
      position: absolute;
      height: 192pt;
      width: 25pt;
      margin-left: 50pt;
    }
    .b3 { /* 3rd page */
      position: absolute;
      height: 336pt;
      margin-left: 30pt;
    }
    .b4 { /* 1st col, but no border */
      position: absolute;
      height: 48pt;
      border-bottom: none;
    }
    .b4 .child1 { /* 1st page */
      position: absolute;
      height: 100%;
      width: 33pt;
      margin-left: 33pt;
    }
    .b4 .child2 { /* 3rd page */
      height: 336pt;
      margin-left: 40pt;

    }
    .b5 { /* 1st page */
      position: absolute;
      height: 48pt;
      width: 34pt;
      margin-left: 66pt;
    }
    .b6 { /* 3rd page */
      height: 336pt;
      margin-left: 50pt;
    }

    .c1 { /* 3rd page */
      position: absolute;
      height: 3in;
      margin-left: 60pt;
    }
    .c2 { /* 2nd page */
      position: absolute;
      height: 1in;
      width: 25pt;
      margin-left: 75pt;
    }
    .c3 { /* 3rd page */
      position: absolute;
      height: 3in;
      margin-left: 70pt;
    }
    .c4 { /* 3rd page */
      height: 3in;
      width: 20pt;
      margin-left: 80pt;
    }

    .f1 {
      margin-top: -48pt;
      height: 48pt;
      margin-bottom: 96pt;
    }
    .f2 {
      margin-top: -24pt;
      height: 24pt;
    }
  </style>
 </head>
 <body>
  <div class="redline r1"></div>
  <div class="redline r2"></div>
  <div class="redline r3"></div>

  <div id="pageset">
    <div>
      <div class="ocontainer">
        <div class="overflow o1"></div>
      </div>
      <div class="container">
        <div class="overflow a1"></div>
        <div class="overflow a2"></div>
        <div class="overflow a3"></div>
        <div class="overflow a4"></div>
      </div>
      <div class="container">
        <div class="overflow b1"></div>
        <div class="overflow b2"></div>
        <div class="overflow b3"></div>
        <div class="overflow b4">
          <div class="overflow child1"></div>
          <div class="overflow child2"></div>
        </div>
        <div class="overflow b5"></div>
        <div class="overflow b6"></div>
      </div>
    </div>
    <p class="following f1">
      There must be 3 pages, a single green line on each page, and no red.
    </p>
    <div class="container">
      <div class="overflow c1"></div>
      <div class="overflow c2"></div>
      <div class="overflow c3"></div>
      <div class="overflow c4"></div>
    </div>
    <div class="following f2"></div>
  </div>
 </body>
</html>