transform3d-backface-visibility-002.html (1043B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>CSS Test (Transforms): Backface-Visibility With Transformed Parent 5 and Child in Different Rendering Contexts</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 an element has 9 'backface-visibility: hidden' and is rotated 180deg, so it would normally 10 disappear, it doesn't reappear just because its parent also has a 180deg 11 rotation. The rotations don't cancel, since the parent doesn't have 12 'transform-style: preserve-3d' and is in a different rendering context."> 13 <link rel="match" href="transform-lime-square-ref.html"> 14 </head> 15 <body> 16 <div style="height:100px;width:100px;background:lime; 17 transform:rotatex(180deg)"> 18 <div style="height:100px;width:100px;background:red; 19 transform:rotatex(180deg);backface-visibility:hidden"> 20 </div> 21 </div> 22 </body> 23 </html>