summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-box/box-chrome-crash-001.html
blob: 351df37f1550ab40818b7f7f1c51191cfae5583e (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
30
<!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>