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