<!DOCTYPE html>
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=991446">
<meta name="assert" content="The renderer should not crash.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<body style="display: inline-grid; align-items: end;">
  <div style="border-top-color: inherit;"></div>
  text
</body>
<script>
test(() => {
  document.body.offsetTop;
  document.body.style.alignItems = '';
  document.body.offsetTop;
}, 'The renderer should not crash.');
</script>
