transform-applies-to-002-ref.xht (783B)
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 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 7 <style type="text/css"><![CDATA[ 8 div { 9 position: relative; 10 color: green; 11 } 12 div p { 13 width: 10em; 14 font-family: Ahem; 15 position: absolute; 16 top: 0; 17 left: 0; 18 line-height: 2; 19 } 20 ]]></style> 21 </head> 22 <body> 23 <p> 24 You should see two lines of 5 green boxes each. You should see no 25 red. 26 </p> 27 <div> 28 <p>X X <span>X X X X X X</span> X X</p> 29 </div> 30 </body> 31 </html>