table-anonymous-block-001.xht (1111B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>CSS Test: The anonymous block box around a table does not work with run-in interaction</title> 5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> 6 <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#model" /> 7 <meta name="assert" content="The anonymous block around a table does not behave like a block for 'run-in' interaction." /> 8 <style type="text/css"> 9 div 10 { 11 display: run-in; 12 } 13 table 14 { 15 background: black; 16 } 17 td 18 { 19 height: 100px; 20 width: 100px; 21 } 22 </style> 23 </head> 24 <body> 25 <p>Test passes if the "Filler Text" is above the box.</p> 26 <div>Filler Text</div> 27 <table> 28 <tr> 29 <td></td> 30 </tr> 31 </table> 32 </body> 33 </html>