position-relative-033-ref.xht (943B)
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 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 12 <style type="text/css"><![CDATA[ 13 span {font: 20px/1 Ahem;} 14 15 div > span {border: blue solid 2px;} 16 17 span#yellow-stripe {color: yellow;} 18 19 span#orange-stripe {color: orange;} 20 ]]></style> 21 22 </head> 23 24 <body> 25 26 <p>Test passes if the yellow stripe is on the left-hand side of the hollow blue rectangle and the orange stripe is on the right-hand side of the hollow blue rectangle.</p> 27 28 <div> 29 <span><span id="yellow-stripe">123456</span> <span id="orange-stripe">123456</span></span> 30 </div> 31 32 </body> 33 </html>