1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/base/crashtests/405184-1.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,31 @@ 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 div = document.getElementById("div"); 1.22 + var caption = document.getElementById("caption"); 1.23 + 1.24 + div.removeChild(caption); 1.25 + div.style.position = "inherit"; 1.26 +} 1.27 + 1.28 +</script></head> 1.29 + 1.30 +<body onload="boom();"> 1.31 +<div id="div" style="-moz-binding: url(#foo);"><caption id="caption"></caption></div> 1.32 +</body> 1.33 + 1.34 +</html>