blob: 01dc5f0c074a2f03f8d94c7ed375e418eee481f6 [file] [log] [blame]
mitz@apple.com43803832007-12-19 21:45:56 +00001<!DOCTYPE HTML>
2<html>
3<head>
4 <script>
5 function test()
6 {
7 document.body.offsetTop;
8 document.getElementById("inner").style.height = "100px";
9 }
10 </script>
11</head>
12<body onload="test()">
13 <div style="height: 200px;">
14 <div style="height: auto;">
15 <div style="width: 100px; height: 1%; overflow: hidden; background-color: white;">
16 <div id="inner" style="height: 0;"></div>
17 </div>
18 </div>
19 <div style="width: 100px; height: 100px; background-color: green;"></div>
20 </div>
21</body>
22</html>