Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Unified Diff: LayoutTests/fast/table/tr-min-content-crash.html

Issue 1160463004: Check if length isSpecified before accessing. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/table/tr-min-content-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | LayoutTests/fast/table/tr-min-content-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698