Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / vertical-align-baseline-rowspan-009.htm
blob23744002d6cbffe3aa2f4ff93c06d0894390c302
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>CSS Test: Vertical-align set to 'baseline' with a spanning cell</title>
5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/">
6 <link rel="author" title="WebKit" href="http://www.webkit.org/">
7 <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#height-layout">
8 <meta name="flags" content="">
9 <meta name="assert" content="A spanning cell with Vertical-align set to 'baseline' aligns the cell's content baseline (which is the bottom of the first line of text or in-flow content) with the baseline of the first of the rows it spans.">
10 <style type="text/css">
13 height:10px;
14 vertical-align: baseline;
16 #spanning
18 height: 80px;
20 #small
22 font-family: Ahem;
23 font-size: small;
25 #large
27 font-family: Ahem;
28 font-size: large;
30 </style>
31 </head>
32 <body>
33 <!-- Because the rowspan aligns its text on the baseline of the first row it spans and all the cells in the table
34 are vertical:align baseline, the text in all the cells should be aligned with each other.-->
35 <p>Test passes if the bottom of the black boxes is aligned.</p>
36 <table>
37 <tr>
38 <td>
39 <div id="large">Text</div>
40 </td>
41 <td id="spanning" rowspan="3" colspan="2">
42 <div id="small">Text</div>
43 </td>
44 <td>
45 <div id="large">Text</div>
46 </td>
47 </tr>
48 <tr>
49 <td></td>
50 <td></td>
51 </tr>
52 <tr>
53 <td></td>
54 <td></td>
55 </tr>
56 </table>
57 </body>
58 </html>