Index: LayoutTests/fast/table/table-rowspan-height-less-than-one-percent.html |
diff --git a/LayoutTests/fast/table/table-rowspan-height-less-than-one-percent.html b/LayoutTests/fast/table/table-rowspan-height-less-than-one-percent.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0e04991e7d938b9a1362da6fcea6c9c1c9113c76 |
--- /dev/null |
+++ b/LayoutTests/fast/table/table-rowspan-height-less-than-one-percent.html |
@@ -0,0 +1,30 @@ |
+<!DOCTYPE html> |
+<style> |
+ #perc-height, th { height: .5%; } |
+ table { height: 10000px } |
+</style> |
+<script src="../../resources/check-layout.js"></script> |
+<body onload="checkLayout('th');"> |
+ <h3>Test for chromium bug : <a href="https://code.google.com/p/chromium/issues/detail?id=408066">408066</a>. ASSERTION FAILED: !extraRowSpanningHeight in blink::RenderTableSection::distributeRowSpanHeightToRows.</h3> |
+ <table border="1"> |
+ <th id="perc-height" data-expected-height="22"> |
+ <td rowspan="2">r0c0</td> |
+ </th> |
+ <tr> |
+ </tr> |
+ <tr> |
+ <td>r2c0</td> |
+ </tr> |
+ </table> |
+ <table border="1"> |
+ <th id="perc-height" data-expected-height="24"> |
+ <td>r0c0</td> |
+ <td rowspan="2">r0c1</td> |
+ </th> |
+ <tr> |
+ </tr> |
+ <tr> |
+ <td>r2c0</td> |
+ </tr> |
+ </table> |
+</body> |