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

Unified Diff: LayoutTests/fast/table/table-rowspan-height-less-than-one-percent.html

Issue 821203003: Handling of percent less than 1 while extra height distribution in spanning rows. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 8 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-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>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/table/table-rowspan-height-less-than-one-percent-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698