transform3d-preserve3d-012.html (938B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>CSS Test (Transforms): 90-Degree Rotations Without Preserve-3D</title> 5 <link rel="author" title="Matt Woodrow" href="mailto:mwoodrow@mozilla.com"> 6 <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name"> 7 <link rel="help" href="http://www.w3.org/TR/css-transforms-2/#transform-style-property"> 8 <meta name="assert" content="This tests that two 90-degree rotations with 9 the default 'transform-style: flat' do not add together to form a 10 180-degree rotation. Instead, the first causes the contents to vanish and 11 the second does not restore them."> 12 <link rel="match" href="transform-blank-ref.html"> 13 </head> 14 <body> 15 <p>Nothing should appear except this sentence.</p> 16 <div style="transform: rotatex(90deg);"> 17 <div style="transform: rotatex(90deg); width: 100px; height: 100px;"> 18 Test Text 19 </div> 20 </div> 21 </body> 22 </html>