blob: 5b87b5855ff9f1ba4c9d15d3123029c8e1c0e776 (
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
|
<html>
<head>
<style>
#colset { -moz-column-count: 3; }
#a { height: 0; }
#x { height: 3px; }
#b { height: 0; }
#c { height: 2px; }
#d { height: 2px; }
/* Following style is just for visualization -- doesn't affect assertion */
#colset { -moz-column-gap: 0px; width: 18px; }
div { width: 5px; }
#a { background: purple; }
#x { background: orange; }
#b { background: blue; }
#c { background: black; }
#d { background: lime; }
</style>
<script>
function boom()
{
document.getElementById("a").style.height = "auto";
document.getElementById("c").style.height = "0";
}
</script>
</head>
<body onload="boom()" id="colset"
><div id="a"><div id="x"></div></div
><div id="b"><div id="c"></div><div id="d"></div></div
></body>
</html>
|