18217-basic-1.html (769B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>CSS 2.1 Test Suite: Test for inline-table</title> 5 <link rel="author" title="L. David Baron" href="https://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 { display: inline-table; } 14 </style> 15 </head> 16 <body> 17 <p>a<span>b</span>c</p> 18 </body> 19 </html>