summaryrefslogtreecommitdiffstats
path: root/layout/reftests/columns/min-width-2.html
blob: f30d86bbdab7fcd6e885576d0a897b48637a6bf1 (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
<!DOCTYPE HTML>
<html><head>
    <meta charset="utf-8">
    <title>Testcase for bug </title>
    <style type="text/css">
* {
    color:black; background:none; font-size:16px; padding:0; margin:0; font-family:monospace;
}

.c {
  -moz-column-rule:2px solid blue;
  -webkit-column-rule:2px solid blue;
  -o-column-rule:2px solid blue;
  -ms-column-rule:2px solid blue;
  column-rule:2px solid blue;

  -moz-column-gap:0;
  -webkit-column-gap:0;
  -o-column-gap:0;
  -ms-column-gap:0;
  column-gap:0;

  height:2.2em;
  line-height:1em;
  border:dotted;
}

.col2 {
  -moz-column-count:2;
  -webkit-column-count:2;
  -o-column-count:2;
  -ms-column-count:2;
  column-count:2;
}

.cw {
  -moz-column-width:4em;
  -webkit-column-width:4em;
  -o-column-width:4em;
  -ms-column-width:4em;
  column-width:4em;
}

.gap {
  -moz-column-gap:2em;
  -webkit-column-gap:2em;
  -o-column-gap:2em;
  -ms-column-gap:2em;
  column-gap:2em;
}
    </style>
</head>
<body>


<div style="width:250px; border:1px solid">
<table cellpadding=0 cellspacing=0><td><div class="c col2 gap">xxxx xxxx xxxx xxxx</div></td><td width="10000">xxxxxxxxxxxxxxxxxxxxxxxxx</table>
</div>
<div style="width:250px; border:1px solid">
<table cellpadding=0 cellspacing=0><td><div class="c col2">xxxx xxxx xxxx xxxx</div></td><td width="10000">xxxxxxxxxxxxxxxxxxxxxxxxx</table>
</div>

<div style="width:250px; border:1px solid">
<table cellpadding=0 cellspacing=0><td><div class="c gap cw">xxxx xxxx xxxx xxxx</div></td><td width="10000">xxxxxxxxxxxxxxxxxxxxxxxxx</table>
</div>

<div style="width:250px; border:1px solid">
<table cellpadding=0 cellspacing=0><td><div class="c cw">xxxx xxxx xxxx xxxx</div></td><td width="10000">xxxxxxxxxxxxxxxxxxxxxxxxx</table>
</div>

</body>
</html>