1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/bugs/460012-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,16 @@ 1.4 +<!DOCTYPE HTML> 1.5 +<html> 1.6 +<head> 1.7 +<style> 1.8 +div:after { content: 'X'; border:1px solid red; } 1.9 +div.foo:after { content: 'Y'; } 1.10 +</style> 1.11 +</head> 1.12 +<body> 1.13 +<div id="d"></div> 1.14 +<script> 1.15 +document.body.offsetTop; 1.16 +document.getElementById("d").setAttribute("class", "foo"); 1.17 +</script> 1.18 +</body> 1.19 +</html>