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

Unified Diff: LayoutTests/fast/table/baseline-align-rowspan.html

Issue 14105010: Fix the rows' height computation with vertical-align: baseline and rowspan (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Same as #1 but with the expected file Created 7 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
« no previous file with comments | « no previous file | LayoutTests/fast/table/baseline-align-rowspan-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/table/baseline-align-rowspan.html
diff --git a/LayoutTests/fast/table/baseline-align-rowspan.html b/LayoutTests/fast/table/baseline-align-rowspan.html
new file mode 100644
index 0000000000000000000000000000000000000000..1a409609cd3614bbc6242839e60db4b074bd65d4
--- /dev/null
+++ b/LayoutTests/fast/table/baseline-align-rowspan.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="../../resources/check-layout.js"></script>
+<style>
+td {
+ font: 10px/1 Ahem;
+ vertical-align: baseline;
+ border: 1px solid;
+}
+</style>
+</head>
+<body onload="checkLayout('tr')">
+<p>This test checks that baseline aligned cells with rowspan don't artificially grow the row's height.</p>
+<p>For this test to pass, there should be 2 PASS.</p>
+<table>
+ <tr data-expected-height="24">
+ <td>This first sentence should</td>
+ <td rowspan="2">be baseline</td>
+ <td>aligned and there should be no gap below.</td>
+ </tr>
+ <tr data-expected-height="54">
+ <td><p>This second</p><p>be baseline</p></td>
+ <td><p>sentence should also</p><p>aligned across the rowspan.</p></td>
+ </tr>
+</table>
+</body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/fast/table/baseline-align-rowspan-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698