Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-crash-huge-margins-and-min-height-max-content.html |
| diff --git a/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-crash-huge-margins-and-min-height-max-content.html b/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-crash-huge-margins-and-min-height-max-content.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..4d7aa7c4399630b6ae4b0e965d80e8ef4314c81b |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-crash-huge-margins-and-min-height-max-content.html |
| @@ -0,0 +1,21 @@ |
| +<!DOCTYPE html> |
| +<script> |
| + if (window.testRunner) |
| + testRunner.dumpAsText(); |
| +</script> |
| +<style> |
| + #grid { |
| + display: grid; |
| + grid: 100px / 100px; |
| + } |
| + #item { |
| + padding: 10px; |
| + margin: 50px 0px; |
| + min-height: max-content; |
| + } |
| +</style> |
| +<p>crbug.com/697317 - height >= 0 in LayoutBox.cpp</p> |
| +<p>This test has PASSED if it does not CRASH.</p> |
| +<div id="grid"> |
| + <div id="item"></a> |
| +</div> |