transform3d-backface-visibility-005.html (951B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>CSS Test (Transforms): Backface-Visibility With Transformed Parent 5 in Different Rendering Context</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 is not 9 transformed, but its parent is rotated 180deg in a different rendering 10 context, the child's 'backface-visibility: hidden' does not make it 11 disappear. Only transforms that affect the child itself are relevant to 12 'backface-visibility'."> 13 <link rel="match" href="transform-lime-square-ref.html"> 14 <style>div { width: 100px; height: 100px }</style> 15 </head> 16 <body> 17 <div style="transform: rotateX(180deg); background: red"> 18 <div style="backface-visibility: hidden; background: lime"> 19 </div> 20 </div> 21 </body> 22 </html>