1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
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
;
17 vertical-align: baseline
;
33 <!-- The "first" cell is baseline-aligned. The text in the rowspan should align with it. -->
34 <p>Test passes if the bottom of the first two black boxes is aligned.
</p>
38 <div id=
"large">Text
</div>
40 <td id=
"spanning" rowspan=
"2" colspan=
"2">
41 <div id=
"small">Text
</div>
44 <div id=
"small">Text
</div>