1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3
4 <head>
5
6 <title>CSS Test: display - sub-table elements with 'display' set to 'inline'</title>
7
8 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#display-prop">
9 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
10 <link rel="author" title="Daniel Schattenkirchner" href="crazy-daniel{at}gmx.de">
11 <meta content="The property 'display' set to 'inline' behaves in layout as an inline element and should generate inline box." name="assert">
12 <meta content="" name="flags">
13
14 <style type="text/css">
15 table, caption, tbody, tr, th, td
16 {
17 display: inline;
18 vertical-align: baseline;
19 }
20 </style>
21
22 </head>
23
24 <body>
25
26 <p>Test passes if the 3 "Filler Text" below are all on the same line.</p>
27
28 <table>
29 <caption>Filler Text </caption>
30
31 <tbody>
32
33 <tr>
34 <th>Filler </th>
35 <td>Text </td>
36 </tr>
37
38 <tr>
39 <th>Filler </th>
40 <td>Text</td>
41 </tr>
42
43 </tbody>
44
45 </table>
46
47 </body>
48 </html>