1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/generic/crashtests/420785-1.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"> 1.5 + 1.6 +<head> 1.7 + 1.8 +<bindings xmlns="http://www.mozilla.org/xbl" xmlns:html="http://www.w3.org/1999/xhtml"> 1.9 + <binding id="foo"> 1.10 + <content><html:span>a b<children xmlns="http://www.mozilla.org/xbl"/></html:span></content> 1.11 + </binding> 1.12 +</bindings> 1.13 + 1.14 +<script type="text/javascript"> 1.15 + 1.16 +function boom() 1.17 +{ 1.18 + var cap = document.getElementById("cap"); 1.19 + var lsep = document.createTextNode("\u2028"); // U+2028 LINE SEPARATOR 1.20 + cap.insertBefore(lsep, cap.firstChild); 1.21 +} 1.22 + 1.23 +</script> 1.24 + 1.25 +</head> 1.26 + 1.27 +<body onload="boom();"><caption id="cap" style="-moz-binding: url('#foo');"> </caption></body> 1.28 + 1.29 +</html>