Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / vertical-align-baseline-rowspan-004.htm
blob03e6129686fc9b0ccd478240dd8e717d3bf0c470
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 vertical-align: baseline;
15 #last
17 padding-top: 30px;
18 height: 45px;
20 #spanning
22 vertical-align: baseline;
24 #small
26 font-family: Ahem;
27 font-size: small;
29 #large
31 font-family: Ahem;
32 font-size: large;
34 </style>
35 </head>
36 <body>
37 <!-- All the cells are baseline-aligned but the lasst cell has an explicit height and padding. The text in the rowspan
38 should line up with the baseline set by the first cell.-->
39 <p>Test passes if the bottom of the black boxes is aligned.</p>
40 <table>
41 <tr>
42 <td>
43 <div id="small">Text</div>
44 </td>
45 <td id="spanning" rowspan="3" colspan="2">
46 <div id="small">Text</div>
47 </td>
48 <td id="last">
49 <div id="large">Text</div>
50 </td>
51 </tr>
52 <tr>
53 <td></td>
54 <td></td>
55 </tr>
56 <tr>
57 <td></td>
58 <td></td>
59 </tr>
60 </table>
61 </body>
62 </html>