summaryrefslogtreecommitdiffstats
path: root/layout/reftests/pagination/content-inserted-009.xhtml
blob: a31916eca623d3ca8de2571ccd3631b4af74dac9 (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
<!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">
 <head>
  <title>Content Appended in Pagination before ::after</title>

  <style type="text/css">
    body {
      font-size: 16px;
    }

    #colset {
      height: 200px;
      width: 450px;
      column-width: 150px;
      column-gap: 0;
      column-fill: auto;
      border: 3px solid silver;
    }

    #shift {
      height: 201px;
      border-bottom: 2px solid blue;
    }
    #overflow {
      height: 500px;
    }
    div:not([id]) {
      border-top: 2px solid blue;
    }
    #x {
      border-bottom: 4px solid blue;
    }
</style>
</head>

<body onload="document.getElementById('span').insertBefore(document.createElement('div'), document.getElementById('x'))">

<div id="colset">
  <span id="span">
    <div id="shift">
      <div id="overflow"></div>
    </div
    ><div id="x">This must be in the second column between two 4px blue lines.</div
  ></span
></div>

</body>

</html>