background-position-001-ref.xht (926B)
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 13 { 14 font: 40px/1 serif; 15 margin: 1px 0px 8px 75px; 16 } 17 18 p#expected-results {font-family: serif;} 19 20 img 21 { 22 left: 0px; 23 position: absolute; 24 top: 1px; 25 } 26 27 div 28 { 29 border-top: lime solid 1px; 30 left: 0px; 31 position: absolute; 32 top: 200px; 33 width: 100%; 34 z-index: -1; 35 } 36 ]]></style> 37 38 </head> 39 40 <body> 41 42 <p id="expected-results">A thin green horizontal line should appear at exactly 200px<img src="support/ruler-v-100px-200px-300px.png" width="55" height="350" alt="Image download support must be enabled" /></p> 43 44 <div></div> 45 46 </body> 47 </html>