position-relative-035-ref.xht (779B)
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 div 13 { 14 line-height: 1.25; 15 width: 5em; 16 } 17 18 div#black 19 { 20 background-color: black; 21 margin-top: 2em; 22 } 23 24 div#orange 25 { 26 background-color: orange; 27 padding-top: 0.25em; 28 } 29 ]]></style> 30 31 </head> 32 33 <body> 34 35 <p>Test passes if a black rectangle has one and only one orange line of text below it.</p> 36 37 <div id="black">Filler Text Filler Text Filler Text</div> 38 39 <div id="orange">Text</div> 40 41 </body> 42 </html>