1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/base/crashtests/398510-1.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,22 @@ 1.4 +<html xmlns="http://www.w3.org/1999/xhtml"> 1.5 +<head> 1.6 +<style> 1.7 +mtd:first-letter { } 1.8 +</style> 1.9 +<script> 1.10 +function boom() 1.11 +{ 1.12 + var b = document.body; 1.13 + document.documentElement.removeChild(b); 1.14 + document.documentElement.offsetHeight; 1.15 + document.documentElement.appendChild(b); 1.16 + 1.17 + var t = document.getElementById('t'); 1.18 + t.removeChild(t.firstChild); 1.19 +} 1.20 +</script> 1.21 +</head> 1.22 +<body onload="boom();"> 1.23 +<mtd xmlns="http://www.w3.org/1998/Math/MathML" id="t">s</mtd> 1.24 +</body> 1.25 +</html>