summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transitions/crashtests/transition-during-style-attr-mutation.html
blob: 255794bfa86d8e24c2bad9a6e59d1f12338b1d00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!DOCTYPE HTML>
<title>Don't crash when mutating style attribute with non-initial transition</title>
<link rel="help" href="https://crbug.com/1313554">
<style>
  #foo { transition: --unset 1s linear; }
</style>
<div id=foo style="background-color:red">PASS if no crash</div>
<script>
foo.offsetTop;
foo.style.backgroundColor = 'green';
foo.offsetTop;
</script>