Index: LayoutTests/fast/table/tr-min-content-crash.html |
diff --git a/LayoutTests/fast/table/tr-min-content-crash.html b/LayoutTests/fast/table/tr-min-content-crash.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e0f7cf59236c81c46fac8deb59fa1e3a769d49be |
--- /dev/null |
+++ b/LayoutTests/fast/table/tr-min-content-crash.html |
@@ -0,0 +1,20 @@ |
+<!doctype html> |
+<script> |
+if (window.testRunner) |
+ testRunner.dumpAsText(); |
+</script> |
+ |
+<style> |
+.min { height: -webkit-min-content; } |
+.max { height: -webkit-max-content; } |
+.fit { height: -webkit-fit-content; } |
+</style> |
+ |
+<p>Test passes if it does not CRASH in debug.</p> |
+<p>This test is verifying that setting a table rows height to [min|max|fit]-content does not ASSERT. crbug.com/478265.</p> |
+ |
+<table> |
+ <tr class="min"></tr> |
+ <tr class="max"></tr> |
+ <tr class="fit"></tr> |
+</table> |