1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/bugs/398101-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,22 @@ 1.4 +<!DOCTYPE html> 1.5 +<html> 1.6 +<head> 1.7 +<script> 1.8 + 1.9 +function boom() 1.10 +{ 1.11 + var c = document.getElementById("c"); 1.12 + var space = document.createTextNode(" "); 1.13 + c.parentNode.insertBefore(space, c); 1.14 +} 1.15 + 1.16 +</script> 1.17 +</head> 1.18 +<body style="font-family: monospace;" onload="boom();"> 1.19 + 1.20 +<div style="width: 3ch; border: 1px solid orange;"> 1.21 + <span>a</span> <span>b</span><span id="c">c</span> 1.22 +</div> 1.23 + 1.24 +</body> 1.25 +</html>