summaryrefslogtreecommitdiff
path: root/layout/generic/crashtests/656130-2.html
blob: 855d41915c15580b6fd25275a77122c9e2783fb9 (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
<!DOCTYPE html>
<html>
<head>
<script>
function doe() {
document.getElementById('b').setAttribute('style', 'position: absolute;');
document.body.offsetHeight;
document.body.setAttribute('style', 'position: relative;');
document.body.offsetHeight;
document.getElementById('b').setAttribute('style', '');
}
setTimeout(doe,0);
</script>
</head>
<body>

<span style="position: relative; ">
<div>
<div id="b">
</div>
</div>
</span>
</body>
</html>