summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/379349-3a.xhtml
blob: 3b6c479cc32779f7aad3a547548859f8e61b0e59 (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
<!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-print">
 <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">
    .container {
      height: 24pt;
      /* background: red; See bug 380013 for why this is commented out */
    }
    .overflow {
      border: solid 2pt silver;
      height: 25in;
      border-bottom: 4pt solid red;
    }
    #following {
      margin: -1in 0;
      height: 72pt;
      border: 2pt black;
      border-style: none solid;
      background: white;
      font-size: 10pt;
      line-height: 10pt;
      text-align: center;
      color: blue;
    }
    .no2 .overflow {
      height: 24.66667in;
    }
    .no3 .overflow {
      height: 24.33333in;
      border-bottom-color: blue;
    }
    .fill {
      height: 75in;
    }
  </style>
 </head>
 <body>
  <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>
  <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="fill">
  </div>
 </body>
</html>