blocks-025-ref.xht (1048B)
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 body {margin-left: 2em;} 13 14 p 15 { 16 height: 2em; 17 margin: 1em 0; 18 } 19 20 table 21 { 22 background-color: green; 23 border: black solid 4px; 24 border-collapse: collapse; 25 } 26 27 td 28 { 29 height: 80px; 30 padding: 0px; 31 width: 80px; 32 } 33 34 td#top-left 35 { 36 border-bottom: black solid 8px; 37 border-right: black solid 8px; 38 } 39 40 td#bottom-right 41 { 42 border-left: black solid 8px; 43 border-top: black solid 8px; 44 } 45 ]]></style> 46 47 </head> 48 49 <body> 50 51 <p>Test passes if there are 4 green squares making a green square pattern and <strong>no red</strong>.</p> 52 53 <table> 54 55 <tr><td id="top-left"></td><td></td></tr> 56 57 <tr><td></td><td id="bottom-right"></td></tr> 58 59 </table> 60 61 </body> 62 </html>