summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/460012-1.html
blob: 92d9e2c71faa435322320548ffba46951290393e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE HTML>
<html>
<head>
<style>
div:after { content: 'X'; border:1px solid red; }
div.foo:after { content: 'Y'; }
</style>
</head>
<body>
<div id="d"></div>
<script>
document.body.offsetTop;
document.getElementById("d").setAttribute("class", "foo");
</script>
</body>
</html>