summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-position/position-absolute-crash-chrome-003.html
blob: c443e836e57a361c7de9bc5f9a6debe7ff832fe0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!DOCTYPE html>
<title>CSS Position Absolute: Chrome crash</title>
<link rel="author" href="mailto:atotic@chromium.org">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=935805">
<meta name="assert" content="Nested abs/fixed/flex do not crash">
<style>
  #flex {
    display: flex;
  }
  .abs {
    position: absolute;
  }
  #fixed {
    position: fixed;
  }
</style>
<div class="abs">
  <div id="flex">
    <div class="abs">
      <div id="fixed"></div>
    </div>
  </div>
</div>
<script>
test(() => {
}, 'test passes if it does not crash');
</script>