1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/base/crashtests/355989-1.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,27 @@ 1.4 +<html xmlns="http://www.w3.org/1999/xhtml"> 1.5 +<head> 1.6 + 1.7 +<style> 1.8 + body, #tq { display: inline; } 1.9 + #tq { position: relative; } 1.10 +</style> 1.11 + 1.12 +<style id="newstyle"> 1.13 +</style> 1.14 + 1.15 +<script> 1.16 +function foo() 1.17 +{ 1.18 + document.getElementById("tq").style.position = "static"; 1.19 + document.getElementById("newstyle").textContent = "*:first-letter { }"; 1.20 +} 1.21 +</script> 1.22 + 1.23 +</head> 1.24 + 1.25 +<body onload="foo()"> 1.26 + <table><tr><td>Table</td></tr></table> 1.27 + <div id="tq">Div</div> 1.28 +</body> 1.29 + 1.30 +</html> 1.31 \ No newline at end of file