summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/frameset-crash.html
blob: 4052717d54eb63efc9a6f80a5f3c09cc73178a5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<link rel="author" title="David Grogan" href="dgrogan@chromium.org">
<link rel="help" href="https://crbug.com/1173843">
<meta name="assert" content="No crash when a flexbox lays out a frameset with a border in the main axis direction.">
<style>
frameset {
  border-right: 50px solid red;
}
</style>

<div id='flex' style="display: flex"></div>

<script>
  // I couldn't get the parser to accept a framset inside a div, so this uses
  // JS instead.
  flex.appendChild(document.createElement('frameset'));
</script>