summaryrefslogtreecommitdiffstats
path: root/layout/generic/crashtests/1140268-1.html
blob: 5e5510ba7fd920896c28c7d1f52ff4268af3ae16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<script>
function boom()
{
    var e = document.getElementsByTagName("mo")[0];
    e.setAttribute("style", "position: absolute; top: 0px;");
    document.documentElement.offsetHeight;
    e.setAttribute("style", "position: absolute; top: 100px;");
}
</script>
</head>
<body onload="boom();">
<math><mo>boom!</mo></math>
</body>
</html>