summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/frameset-crash.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-flexbox/frameset-crash.html')
-rw-r--r--testing/web-platform/tests/css/css-flexbox/frameset-crash.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-flexbox/frameset-crash.html b/testing/web-platform/tests/css/css-flexbox/frameset-crash.html
new file mode 100644
index 0000000000..4052717d54
--- /dev/null
+++ b/testing/web-platform/tests/css/css-flexbox/frameset-crash.html
@@ -0,0 +1,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>