transform3d-preserve3d-006.html (1012B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>CSS Test (Transforms): Two rotatex(), No Preserve-3D</title> 5 <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name"> 6 <link rel="help" href="http://www.w3.org/TR/css-transforms-2/#transform-style-property"> 7 <meta name="assert" content="rotatex(45deg) or rotatex(-45deg), by itself, 8 should both just scale down the element by a factor of sqrt(2) (and perhaps 9 shift it, depending on 'transform-origin'). Without 'transform-style: 10 preserve-3d', the rotations on parent and child shouldn't cancel, so its 11 height should be halved with no other effect."> 12 <meta name="fuzzy" content="maxDifference=0-55;totalPixels=0-299"> 13 <link rel="match" href="transform-lime-square-ref.html"> 14 </head> 15 <body> 16 <div style="transform: rotatex(45deg); transform-origin: top"> 17 <div style="transform: rotatex(-45deg); transform-origin: top; 18 height: 200px; width: 100px; background: lime"> 19 </div></div> 20 </body> 21 </html>