1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/dom/multipleinsertionpoints-appendsingle-1.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,40 @@ 1.4 +<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait"> 1.5 +<head> 1.6 + 1.7 +<bindings xmlns="http://www.mozilla.org/xbl" 1.8 + xmlns:xhtml="http://www.w3.org/1999/xhtml"> 1.9 + <binding id="a"> 1.10 + <content> 1.11 + <xhtml:div> 1.12 + <children includes="span"/> 1.13 + </xhtml:div> 1.14 + <xhtml:div> 1.15 + <children/> 1.16 + </xhtml:div> 1.17 + </content> 1.18 + </binding> 1.19 +</bindings> 1.20 + 1.21 +<script> 1.22 +function boom() 1.23 +{ 1.24 + document.body.offsetHeight; 1.25 + 1.26 + var parent = document.getElementById("parent"); 1.27 + 1.28 + var newelt = document.createElement("div"); 1.29 + newelt.appendChild(document.createTextNode(5)); 1.30 + parent.appendChild(newelt); 1.31 + 1.32 + document.body.offsetHeight; 1.33 + document.documentElement.className = ""; 1.34 +} 1.35 +</script> 1.36 + 1.37 +</head> 1.38 +<body onload="boom();"> 1.39 +<div id="parent" style="-moz-binding: url(#a);"> 1.40 + <div>3</div><span>1</span><div>4</div><span>2</span> 1.41 +</div> 1.42 +</body> 1.43 +</html>