1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/first-letter/379799-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,29 @@ 1.4 +<!DOCTYPE html> 1.5 +<html> 1.6 +<head> 1.7 + 1.8 +<style id="firstLetterSheet"> 1.9 + .fl:first-letter { color: red } 1.10 +</style> 1.11 + 1.12 +<script> 1.13 + 1.14 +function boom() 1.15 +{ 1.16 + document.getElementById("parent").className = ""; 1.17 + document.body.offsetWidth; 1.18 + document.getElementById("test").style.position = "relative"; 1.19 +} 1.20 + 1.21 +</script> 1.22 + 1.23 +</head> 1.24 + 1.25 +<body onload="boom()"> 1.26 + 1.27 +<div class="fl" id="parent" style="color: green"> 1.28 + Foo <span id="test">Bar</span> 1.29 +</div> 1.30 + 1.31 +</body> 1.32 +</html>