1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/base/crashtests/736924-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,23 @@ 1.4 +<!DOCTYPE html> 1.5 +<html> 1.6 +<script> 1.7 +function boom() 1.8 +{ 1.9 + var a = document.createElementNS("http://www.w3.org/1999/xhtml", "span"); 1.10 + var b = document.createElementNS("http://www.w3.org/1999/xhtml", "span"); 1.11 + var x = document.createElementNS("http://www.w3.org/1999/xhtml", "div"); 1.12 + var y = document.createElementNS("http://www.w3.org/1999/xhtml", "basefont"); 1.13 + var z = document.createElementNS("http://www.w3.org/1999/xhtml", "body"); 1.14 + z.setAttributeNS(null, "link", "#333333"); 1.15 + 1.16 + document.documentElement.appendChild(a); 1.17 + b.appendChild(x); 1.18 + b.appendChild(y); 1.19 + document.documentElement.offsetHeight; 1.20 + a.appendChild(b); 1.21 + document.documentElement.offsetHeight; 1.22 + document.createElementNS("http://www.w3.org/1999/xhtml", "div").appendChild(y); 1.23 + b.appendChild(z); 1.24 +} 1.25 +</script> 1.26 +<body onload="boom();"></body>