inline-table-002b

Test for inline-table

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Assertion
it is a rectangular block that participates in an inline formatting context). The baseline of an 'inline-table' is the baseline of the first row of the table.

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="inline-table-002-ref.xht">
 4 <title>CSS Test: Test for inline-table</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#table-display">
 8 <meta name="assert" content="it is a rectangular block that participates in an inline formatting context).">
 9 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#leading">
10 <meta name="assert" content="The baseline of an 'inline-table' is the baseline of the first row of the table.">
11 <meta name="flags" content="">
12 <style type="text/css">
13 span > span { display: table-cell; }
14 span > span > span { display: block; visibility: hidden; }
15 </style>
16 </head>
17 <body>
18 <p><span>a<span>bcd<span>x</span></span>e</span></p>
19 
20 
21 </body></html>