<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<link rel="help" href="https://crbug.com/976397">
<div style="width: 100px; position: relative;">
  <div style="float: left; width: 110px; height: 50px;">
    <div style="display: flex;">
      <div style="position: absolute; width: 50px; height: 50px;"></div>
   </div>
  </div>
</div>
<script>
test(() => { }, 'test passes if it does not crash');
</script>
