summaryrefslogtreecommitdiffstats
path: root/dom/base/crashtests/387460-1-inner.xhtml
blob: 33b1891e7b46ebdceb67fa4d94058ee8aeef3b09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<html xmlns="http://www.w3.org/1999/xhtml">
<head></head>
<body>
<a id="a" href="#"></a>

<table><tbody>
<tr><td id="d"/></tr>
<tr id="b"><td id="c"></td></tr>
</tbody></table>


<script>
function doe() {
 document.getElementById('b').appendChild(document.getElementById('c')); 
 window.addEventListener('DOMAttrModified', function(e){document.getElementById('a').focus();}, true); 
 document.getElementById('d').setAttribute('rowspan', 3); 
}
setTimeout(doe, 200);
</script>

</body>
</html>