transform-stacking-003.html (1054B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>CSS Test (Transforms): Stacking, invalid transform value</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-1/#transform-rendering"> 7 <meta name="assert" content='This tests that specifying the transform 8 property with an invalid value does not create a new stacking context -- it 9 should have no effect at all, same as "transform: none".'> 10 <link rel="match" href="transform-lime-square-ref.html"> 11 <style> 12 body > div:first-child { 13 transform: quasit; 14 } 15 body > div:first-child > div { 16 height: 100px; 17 width: 100px; 18 background: lime; 19 z-index: 1; 20 position: relative; 21 } 22 body > div:last-child { 23 height: 100px; 24 width: 100px; 25 background: red; 26 position: relative; 27 bottom: 100px; 28 } 29 </style> 30 </head> 31 <body> 32 <div> 33 <div></div> 34 </div> 35 <div></div> 36 </body> 37 </html>