wpt / svg / struct / crashtests / chrome-bug-425405650.html

Status: PASS | Duration: 8ms | Subtests: 1/1 | Open test on wpt.live | wpt.fyi

/svg/struct/crashtests/chrome-bug-425405650.html

<!DOCTYPE html>
<style>
  #el0 {
    display: block;
  }

  #el1 {
    position: absolute;
  }

  .c7 {
    position: absolute;
  }
</style>
<svg id="el0"></svg>

<svg id="el1">
  <use href="#el0"></use>
</svg>

<script>
  document.body.offsetTop;
  document.getElementById('el0').setAttribute('class', 'c7');
  document.body.offsetTop;
</script>