| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
| <html> |
| <head> |
| <title>CSS Test: Reference Result</title> |
| <link rel="author" title="WebKit" href="http://www.webkit.org/"> |
| <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#height-layout"> |
| <style type="text/css"> |
| #first |
| { |
| vertical-align: baseline; |
| } |
| #second |
| { |
| vertical-align: middle; |
| } |
| #small |
| { |
| font-family: Ahem; |
| font-size: small; |
| } |
| #large |
| { |
| font-family: Ahem; |
| font-size: large; |
| } |
| </style> |
| </head> |
| <body> |
| <p>Test passes if the bottom of the first two black boxes is aligned.</p> |
| <table> |
| <tr> |
| <td id="first"> |
| <div id="large">Text</div> |
| </td> |
| <td id="first"> |
| <div id="small">Text</div> |
| </td> |
| <td id="second"> |
| <div id="small">Text</div> |
| </td> |
| </tr> |
| </table> |
| </body> |
| </html> |