<!DOCTYPE html>
<title>CSS Box: chrome crash</title>
<link rel="author" href="mailto:atotic@google.com">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<link rel="help" href="https://crbug.com/967361">
<meta name="assert" content="Chrome does not crash on narrow div with scrollbars.">
<style>
body  {
  writing-mode: vertical-lr;
}
#target {
  overflow-y: scroll;
  max-height: 5px;
  background: gray;
}
</style>
<!--  -->
<div>
  <span>
    <div id="container">
      <div id="target">anon</div>
    </div>
  </span>
</div>

<script>
test(() => {
}, 'test passes if it does not crash');
</script>
