1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/base/crashtests/497519-2.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,26 @@ 1.4 +<html xmlns="http://www.w3.org/1999/xhtml" style="-moz-binding: url(#foo)"> 1.5 +<head> 1.6 + 1.7 +<xbl:bindings xmlns:xbl="http://www.mozilla.org/xbl"> 1.8 +<xbl:binding id="foo"><xbl:content><fieldset><xbl:children/></fieldset></xbl:content></xbl:binding> 1.9 +</xbl:bindings> 1.10 + 1.11 +<script type="text/javascript"> 1.12 + 1.13 +function boom() 1.14 +{ 1.15 + var dE = document.documentElement; 1.16 + var leg = document.createElementNS("http://www.w3.org/1999/xhtml", "legend"); 1.17 + leg.style.cssFloat = "left"; 1.18 + dE.appendChild(leg); 1.19 + document.documentElement.offsetHeight; 1.20 + dE.removeChild(leg); 1.21 +} 1.22 + 1.23 +</script> 1.24 + 1.25 +</head> 1.26 + 1.27 +<body onload="boom();"></body> 1.28 + 1.29 +</html>