inline-formatting-context-009-ref.xht (743B)
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 table 13 { 14 background-color: blue; 15 border-spacing: 0px; 16 height: 200px; 17 } 18 19 td 20 { 21 padding: 0px; 22 width: 100px; 23 } 24 25 td#middle {background-color: orange;} 26 ]]></style> 27 28 </head> 29 30 <body> 31 32 <p>Test passes if the filled orange rectangle has a filled blue rectangle on either side.</p> 33 34 <table> 35 <tr><td></td><td id="middle"></td><td></td></tr> 36 </table> 37 38 </body> 39 </html>