block-in-inline-001-ref.xht (893B)
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 td 13 { 14 border: black solid; 15 color: black; 16 padding: 0; 17 } 18 19 .lime {background-color: lime;} 20 .green {background-color: green;} 21 ]]></style> 22 23 </head> 24 25 <body> 26 27 <p>The following two boxes should look identical.</p> 28 29 <table> 30 <tr> 31 <td> 32 <div class="lime">Line 1</div> 33 <div class="green">Line 2</div> 34 <div class="lime">Line 3</div> 35 </td> 36 <td> 37 <div class="lime">Line 1</div> 38 <div class="green">Line 2</div> 39 <div class="lime">Line 3</div> 40 </td> 41 </tr> 42 </table> 43 44 </body> 45 </html>