background-position-applies-to-001b-ref.xht (740B)
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: 8px;} 13 14 div 15 { 16 background-color: green; 17 height: 60px; 18 margin-left: 60px; 19 margin-top: 76px; 20 /* 21 22 16px : p's margin-bottom 23 + 24 60px : table's first row height 25 ======= 26 76px 27 28 */ 29 width: 60px; 30 } 31 ]]></style> 32 33 </head> 34 35 <body> 36 37 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 38 39 <div></div> 40 41 </body> 42 </html>