1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/bugs/372553-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,31 @@ 1.4 +<!DOCTYPE html> 1.5 +<html> 1.6 +<head> 1.7 + 1.8 +<style> 1.9 + 1.10 +body { 1.11 + width: 5em; 1.12 + font-family: monospace; 1.13 + border: 1px solid yellow; 1.14 +} 1.15 + 1.16 +body:first-letter { 1.17 + color: blue; 1.18 +} 1.19 + 1.20 +</style> 1.21 + 1.22 +</head> 1.23 +<body> 1.24 + 1.25 +<span><span><span id="sss">Aaa </span></span>Bbbbbbbbbbbbbb<span></span></span> 1.26 + 1.27 +<script> 1.28 +document.body.offsetWidth; 1.29 +sss = document.getElementById("sss"); 1.30 +sss.parentNode.removeChild(sss); 1.31 +</script> 1.32 + 1.33 +</body> 1.34 +</html>