inline-formatting-context-015-ref.xht (906B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 3 <html xmlns="http://www.w3.org/1999/xhtml"> 4 5 <head> 6 7 <title>CSS Reftest Reference</title> 8 9 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> 10 11 <style type="text/css"><![CDATA[ 12 p {margin: 1em 0em;} 13 14 table 15 { 16 background-color: orange; 17 border-spacing: 0px; 18 width: 200px; 19 } 20 21 td 22 { 23 padding: 0px; 24 vertical-align: top; 25 } 26 27 td:first-child {width: 110px;} 28 29 div 30 { 31 border: blue solid 5px; 32 height: 20px; 33 } 34 ]]></style> 35 36 </head> 37 38 <body> 39 40 <p>Test passes if the "Filler Text" is to the right of the blue box and an orange background covers the area behind both the "Filler Text" and the blue box.</p> 41 42 <table> 43 <tr><td><div></div></td><td>Filler Text Filler Text</td></tr> 44 </table> 45 46 </body> 47 </html>