margin-em-inherit-001-ref.xht (713B)
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 p 15 { 16 font: 1em/1.25 serif; 17 margin: 1em 0em; 18 } 19 20 div 21 { 22 background-color: green; 23 height: 194px; 24 left: 118px; 25 position: relative; 26 top: 46px; 27 width: 392px; 28 } 29 ]]></style> 30 31 </head> 32 33 <body> 34 35 <p>Test passes if there is a filled green<br /> 36 rectangle and if there is no red.</p> 37 38 <div></div> 39 40 </body> 41 </html>