summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-overflow/shrink-to-fit-auto-overflow-relayout-crash.html
blob: c0f0214ee186a0b13787f6f86bd199e7d6df7ac0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=919415">
<div id="target" style="position:absolute; overflow:auto; height:100px; top:100px;"></div>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
  test(()=> {
      document.body.offsetTop;
      target.style.top = "50px";
  }, "no crash");
</script>