css-skew-001.html (1057B)
1 <!DOCTYPE html> 2 <html> 3 <!-- Submitted from TestTWF Paris --> 4 <head> 5 <title>CSS Test: skew function part 1</title> 6 <link rel="help" href="http://www.w3.org/TR/css-transforms-1/#two-d-transform-functions"> 7 <link rel="author" title="Adrien Pachkoff" href="mailto:adrien@pachkoff.com"> 8 <link rel="match" href="css-skew-001-ref.html"> 9 <style type="text/css"> 10 div { 11 top:5px; 12 left:5px; 13 position:absolute; 14 height: 150px; 15 width: 150px; 16 background-color:red; 17 transform-origin: 0 0; 18 transform: skew(25deg, 35deg); 19 } 20 svg { 21 top:0; 22 left:0; 23 position:absolute; 24 height: 268.778px; 25 width: 231.642px; 26 } 27 </style> 28 </head> 29 <body> 30 <p>The test passes if there is a green quadrilateral and no red.</p> 31 <div> </div> 32 <svg> 33 <path 34 d="M 231.64212,268.77841 73.167806,158.54816 0,0 158.58452,110.15942 z" 35 fill="green" /> 36 </svg> 37 </body> 38 </html>