layout/reftests/bugs/18217-valign-1.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

michael@0 1 <!DOCTYPE html>
michael@0 2 <html>
michael@0 3 <head>
michael@0 4 <title>CSS 2.1 Test Suite: Test for vertical alignment on inline-table</title>
michael@0 5 <link rel="author" title="L. David Baron" href="http://dbaron.org/" />
michael@0 6 <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
michael@0 7 <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#table-display" />
michael@0 8 <meta name="assert" content="it is a rectangular block that participates in an inline formatting context)." />
michael@0 9 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#leading" />
michael@0 10 <meta name="assert" content="The baseline of an 'inline-table' is the baseline of the first row of the table." />
michael@0 11 <meta name="flags" content="" />
michael@0 12 <style type="text/css">
michael@0 13 span#table { display: inline-table; }
michael@0 14 span#rowgroup { display: table-row-group; }
michael@0 15 span#row { display: table-row; }
michael@0 16 span#cell { display: table-cell; }
michael@0 17 span#table, span#rowgroup, span#row, span#cell {
michael@0 18 border: 4px solid white;
michael@0 19 margin: 3px 0;
michael@0 20 border-width: 4px 0;
michael@0 21 padding: 9px 0;
michael@0 22 border-spacing: 0 5px;
michael@0 23 }
michael@0 24 span#block { display: block; visibility: hidden; }
michael@0 25 </style>
michael@0 26 </head>
michael@0 27 <body>
michael@0 28 <table border><tr><td>
michael@0 29 <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>
michael@0 30 </td></tr></table>
michael@0 31 </body>
michael@0 32 </html>

mercurial