summaryrefslogtreecommitdiffstats
path: root/layout/generic/crashtests/363448.html
blob: 960aa5445c2c29536f878d46a06f4b61f08c6e53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<html>
<head>
<title>Testcase bug 363448 - Crash [@ nsCachedStyleData::GetStyleData] with testcase, using floating and absolutely positioned iframes</title>
</head>
<body>
This page should not crash Mozilla
<div style="width:300px;">
  <span id="b">
    <iframe style="float: left;" id="a"></iframe>
    <wbr>text
    <iframe id="c" style="position: absolute;"></iframe>
  </span>
</div>

<script>
function stirdom(){
  document.body.appendChild(document.getElementById('a'));
  document.getElementById('b').appendChild(document.getElementById('c'));
}
setTimeout(stirdom,200);
</script>
</body>
</html>