summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-anchor-position/chrome-336322507-crash.html
blob: 922c53b97741938b5c754c81e95a90a7735f9911 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<link rel="help" href="https://crbug.com/336322507">
<style>
  #crash {
    --grad: linear-gradient(black, white);
    background: var(--grad);
    position: absolute;
    top: anchor(center);
  }
</style>
<div id="crash"></div>
<script>
  document.body.offsetTop;
  crash.remove();
</script>