1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/dom/multipleappendwitheditable.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,37 @@ 1.4 +<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait"> 1.5 +<head> 1.6 +<script type="text/javascript"> 1.7 + 1.8 +function boom() 1.9 +{ 1.10 + document.body.offsetHeight; 1.11 + 1.12 + var parent = document.getElementById("parent"); 1.13 + 1.14 + var newelt = document.createElement("div"); 1.15 + newelt.appendChild(document.createTextNode(3)); 1.16 + parent.appendChild(newelt); 1.17 + 1.18 + newelt = document.createElement("div"); 1.19 + newelt.appendChild(document.createTextNode(4)); 1.20 + parent.appendChild(newelt); 1.21 + 1.22 + newelt = document.createElement("div"); 1.23 + newelt.appendChild(document.createTextNode(5)); 1.24 + newelt.setAttribute("contenteditable", "true"); 1.25 + parent.appendChild(newelt); 1.26 + 1.27 + document.body.offsetHeight; 1.28 + document.documentElement.className = ""; 1.29 +} 1.30 + 1.31 +</script> 1.32 +</head> 1.33 + 1.34 +<body onload="boom();"> 1.35 +<div id="parent"> 1.36 + <div>1</div> 1.37 + <div>2</div> 1.38 +</div> 1.39 +</body> 1.40 +</html> 1.41 \ No newline at end of file