transform3d-backface-visibility-004.html (1110B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>CSS Test (Transforms): Backface-Visibility With Transformed Parent 5 in Same Rendering Context, Split Transform</title> 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/#propdef-backface-visibility"> 8 <meta name="assert" content="This tests that if a parent and child are in 9 the same 3D rendering context, and a 60deg rotation on the parent combines 10 with a 60deg rotation on the child to make a 120deg rotation, the child 11 will disappear if 'backface-visibility: hidden' is specified, just like if 12 the 120deg rotation were specified on the child to start with."> 13 <link rel="match" href="transform-lime-square-ref.html"> 14 </head> 15 <body> 16 <div style="height:100px;width:100px;background:lime"> 17 <div style="transform:rotatex(60deg);transform-style:preserve-3d"> 18 <div style="height:100px;width:100px;background:red; 19 transform:rotatex(60deg);backface-visibility:hidden"> 20 </div> 21 </div> 22 </div> 23 </body> 24 </html>