transform-applies-to-001-ref.xht (680B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>CSS Reftest Reference</title> 5 <link rel="author" title="Apple Inc." href="http://www.apple.com/"/> 6 <style type="text/css"><![CDATA[ 7 div { 8 position: relative; 9 } 10 div p { 11 position: absolute; 12 top: 0; 13 left: 0; 14 display: block; 15 } 16 #ref { 17 width: 100px; 18 height: 100px; 19 background-color: green; 20 } 21 ]]></style> 22 </head> 23 <body> 24 <p>You should see a green box. There should be no red.</p> 25 <div> 26 <p id="ref"></p> 27 </div> 28 </body> 29 </html>