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

Unified Diff: third_party/WebKit/LayoutTests/fast/table/table-rowspan-table-height-and-row-precent-height-too-large.html

Issue 1405393002: Crashes when percent calculation of row's height goes very high. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments addressed Created 4 years, 11 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
Index: third_party/WebKit/LayoutTests/fast/table/table-rowspan-table-height-and-row-precent-height-too-large.html
diff --git a/third_party/WebKit/LayoutTests/fast/table/table-rowspan-table-height-and-row-precent-height-too-large.html b/third_party/WebKit/LayoutTests/fast/table/table-rowspan-table-height-and-row-precent-height-too-large.html
new file mode 100644
index 0000000000000000000000000000000000000000..39d30de4e6013ea8500ab2e526d434d1b08cf5b2
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/table/table-rowspan-table-height-and-row-precent-height-too-large.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<script>
+ if (window.testRunner)
+ testRunner.dumpAsText();
+</script>
+<style>
+ td { font: 20px/1 Ahem }
+ .row-height { height : 48515% }
+</style>
+<body>
+ <h3>Test for chromium bug : <a href="https://code.google.com/p/chromium/issues/detail?id=408066">408066</a>.
+<br/>Page is crashing on assression when table row span cell's percent height is too large.</h3>
mstensho (USE GERRIT) 2016/01/20 13:00:59 *assertion* And I think you can just remove the f
dgrogan 2016/01/21 01:38:13 I see you're consistent with this preference :) J
a.suchit2 2016/01/21 07:08:40 So right now, I will leave as it is.
+ <h4>For this test to PASS, it should not crash.</h4>
+ <table>
+ <tr class="row-height">
+ <td height="876543210" rowspan="2">This row span cell height is too large.</td>
+ </tr>
+ <tr class="row-height">
+ <td></td>
+ </tr>
+ </table>
+</body>

Powered by Google App Engine
This is Rietveld 408576698