table-vertical-align-baseline-002

Test for baseline alignment of table cells

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html><head>
 3 <link rel="reference" href="table-vertical-align-baseline-001-ref.xht">
 4 <title>CSS Test: Test for baseline alignment of table cells</title>
 5 <link rel="author" title="L. David Baron" href="http://dbaron.org/">
 6 <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/">
 7 <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#height-layout">
 8 <meta name="flags" content="">
 9 <style type="text/css">
10 
11 td { vertical-align: baseline; padding-top: 0; }
12 
13 </style>
14 </head>
15 <body>
16 
17 <table>
18   <tbody><tr>
19     <td><div style="padding-top: 40px">data</div></td>
20     <td><div style="padding-top: 20px">data</div></td>
21     <td><div style="padding-top: 0">data</div></td>
22   </tr>
23 </tbody></table>
24 
25 
26 
27 </body></html>