1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/base/crashtests/405186-1.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,39 @@ 1.4 +<html xmlns="http://www.w3.org/1999/xhtml"> 1.5 +<head> 1.6 + 1.7 +<bindings xmlns="http://www.mozilla.org/xbl"> 1.8 + <binding id="foo"> 1.9 + <content> 1.10 + <div xmlns="http://www.w3.org/1999/xhtml" style="position: fixed;"> 1.11 + <children xmlns="http://www.mozilla.org/xbl"/> 1.12 + </div> 1.13 + </content> 1.14 + </binding> 1.15 +</bindings> 1.16 + 1.17 +<script type="text/javascript"> 1.18 + 1.19 +function boom() 1.20 +{ 1.21 + var table = document.getElementById("table"); 1.22 + var tr = document.getElementById("tr"); 1.23 + var td = document.getElementById("td"); 1.24 + 1.25 + table.style.border = "2px dotted magenta"; 1.26 + tr.removeChild(td); 1.27 +} 1.28 + 1.29 +</script> 1.30 +</head> 1.31 + 1.32 +<body onload="boom();"> 1.33 + 1.34 +<table id="table" style="-moz-binding: url(#foo);"> 1.35 + <tr id="tr"> 1.36 + <td id="td"></td> 1.37 + </tr> 1.38 +</table> 1.39 + 1.40 +</body> 1.41 + 1.42 +</html>