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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/fast/table/baseline-align-rowspan-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../resources/check-layout.js"></script>
5 <style>
6 td {
7 font: 10px/1 Ahem;
8 vertical-align: baseline;
9 border: 1px solid;
10 }
11 </style>
12 </head>
13 <body onload="checkLayout('tr')">
14 <p>This test checks that baseline aligned cells with rowspan don't artificially grow the row's height.</p>
15 <p>For this test to pass, there should be 2 PASS.</p>
16 <table>
17 <tr data-expected-height="24">
18 <td>This first sentence should</td>
19 <td rowspan="2">be baseline</td>
20 <td>aligned and there should be no gap below.</td>
21 </tr>
22 <tr data-expected-height="54">
23 <td><p>This second</p><p>be baseline</p></td>
24 <td><p>sentence should also</p><p>aligned across the rowspan.</p></td>
25 </tr>
26 </table>
27 </body>
28 </html>
OLDNEW
« 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