summaryrefslogtreecommitdiffstats
path: root/layout/style/crashtests/1479681.html
blob: 1d4c6c612dab2c979c4733988c6187258c92aaf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!doctype html>
<style>
  div {
    color: red;
    transition: margin 1s ease, all 2s;
  }
</style>
<div>Should turn Green</div>
<script>
onload = function() {
  document.querySelector('div').style.color = "green";
  document.body.offsetTop;
}
</script>