summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/379349-3-ref.xhtml
blob: 3793b9acb67f7e90aada36f41d9f734a7957d9bf (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
<!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>CSS 2.1 Test Suite: Overflow Pagination (Multiple)</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">
    .overflow {
      border: solid 2pt silver;
      height: 25in;
      border-bottom: 4pt solid black;
    }
    #following {
      position: absolute;
      top: 0; left: 0;
      margin: 0;
      height: 72pt;
      border: 2pt black;
      border-style: none solid;
      background: white;
      font-size: 10pt;
      line-height: 10pt;
      text-align: center;
      color: blue;
    }
    body {
      position: relative;
    }
  </style>
 </head>
 <body>
  <p id="following">
    This paragraph must be on the first page in paged media.
    There must be no red on any page. There must be a blue line
    on a page <em>after</em> the first (assuming the page area
    is shorter than 25 inches).
  </p>
  <div class="container no1">
    <div class="overflow">
    </div>
  </div>
  <div class="container no2">
    <div class="overflow">
    </div>
  </div>
  <div class="container no3">
    <div class="overflow">
    </div>
  </div>
 </body>
</html>