summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/break-before-with-no-fragmentation-crash.html
blob: fb80ec45bceec093481fa54513c606c5952628b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-break/">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=966369">
<div id="container" style="height:100px";>
  <div style="height:100%;">
    <div style="break-before:page;"></div>
  </div>
</div>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
  test(()=> {
      document.body.offsetTop;
      container.style.height = "101px";
  }, "no crash");
</script>