summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1315632-1.html
blob: c69699b35ada12a4051b59b4e7390b66f80bb8df (plain)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE html>
<style>
.x { position: absolute; color: red; }
.y { color: green; }
</style>
<div class=x>hello</div>
<script>
document.body.offsetHeight;
document.querySelector(".x").className = "y";
document.body.offsetHeight;
</script>