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