summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/zero-content-size-with-scrollbar-crash.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-flexbox/zero-content-size-with-scrollbar-crash.html')
-rw-r--r--testing/web-platform/tests/css/css-flexbox/zero-content-size-with-scrollbar-crash.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-flexbox/zero-content-size-with-scrollbar-crash.html b/testing/web-platform/tests/css/css-flexbox/zero-content-size-with-scrollbar-crash.html
new file mode 100644
index 0000000000..35a64aa61f
--- /dev/null
+++ b/testing/web-platform/tests/css/css-flexbox/zero-content-size-with-scrollbar-crash.html
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#flex-containers">
+<meta name="assert" content="This test passes if the renderer does not crash."/>
+<div style="display: flex;">
+ <div style="max-width: 0px; overflow: scroll;"></div>
+</div>