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

Unified Diff: LayoutTests/fast/table/table-rowspan-crash-with-huge-pedding-value.html

Issue 131103017: ASSERTION FAILED: !remainder in WebCore::RenderTableSection::distributeExtraRowSpanHeightToAutoRows (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added a test case and fixed review comments Created 6 years, 9 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: LayoutTests/fast/table/table-rowspan-crash-with-huge-pedding-value.html
diff --git a/LayoutTests/fast/table/table-rowspan-crash-with-huge-pedding-value.html b/LayoutTests/fast/table/table-rowspan-crash-with-huge-pedding-value.html
new file mode 100644
index 0000000000000000000000000000000000000000..ecad0b4ab6874f05e514512a6bd1c1ffc2b10710
--- /dev/null
+++ b/LayoutTests/fast/table/table-rowspan-crash-with-huge-pedding-value.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <script type="text/javascript">
+ if (window.testRunner)
+ testRunner.dumpAsText();
+ </script>
+ <style>
+ td, h4, h6 {padding-top:25000pt;}
+ </style>
Julien - ping for review 2014/03/21 04:18:05 Nit: The indentation is not consistent above (here
a.suchit 2014/03/24 10:53:59 Done.
+</head>
+<body>
+ <h2>Test for chromium bug : <a href="https://code.google.com/p/chromium/issues/detail?id=334652">334652</a>. ASSERTION FAILED: !remainder in WebCore::RenderTableSection::distributeExtraRowSpanHeightToAutoRows.</h3>
+ <h3>For this test to PASS, it should not crash.</h4>
+ <table border="1">
+ <tr>
+ <td>r0c0</td>
+ <td rowspan="2">
+ <h6>r0c1</h6>
+ <h4> rowspan=2</h4>
+ </td>
+ </tr>
+ </table>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698