| OLD | NEW |
| (Empty) | |
| 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x
html1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> |
| 2 <title>CSS Test: Test for vertical alignment on inline-table</title> |
| 3 <link rel="author" title="L. David Baron" href="https://dbaron.org/" /> |
| 4 <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" /> |
| 5 <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#table-display" /> |
| 6 <meta name="assert" content="it is a rectangular block that participates in an i
nline formatting context)." /> |
| 7 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#leading" /> |
| 8 <link rel="match" href="inline-table-valign-001-ref.xht"/> |
| 9 <meta name="assert" content="The baseline of an 'inline-table' is the baseline o
f the first row of the table." /> |
| 10 <meta name="flags" content="" /> |
| 11 <style type="text/css"> |
| 12 span#table { display: inline-table; } |
| 13 span#rowgroup { display: table-row-group; } |
| 14 span#row { display: table-row; } |
| 15 span#cell { display: table-cell; } |
| 16 span#table, span#rowgroup, span#row, span#cell { |
| 17 border: 4px solid white; |
| 18 margin: 3px 0; |
| 19 border-width: 4px 0; |
| 20 padding: 9px 0; |
| 21 border-spacing: 0 5px; |
| 22 } |
| 23 span#block { display: block; visibility: hidden; } |
| 24 </style> |
| 25 </head> |
| 26 <body> |
| 27 <table border=""><tbody><tr><td> |
| 28 <p>a<span id="table"><span id="rowgroup"><span id="row"><span id="cell">bcd<span
id="block">x</span></span></span></span></span>e</p> |
| 29 </td></tr></tbody></table> |
| 30 |
| 31 |
| 32 </body></html> |
| OLD | NEW |