stacking-context-lose-transform-none.html (489B)
1 <!DOCTYPE html> 2 <title> 3 Transform animation creates a stacking context even if the transform property 4 is overridden by an !important rule 5 </title> 6 <style> 7 span { 8 height: 100px; 9 width: 100px; 10 position: fixed; 11 background: green; 12 top: 50px; 13 } 14 @keyframes TransformNone { 15 from, to { transform: none; } 16 } 17 #test { 18 width: 100px; height: 100px; 19 background: blue; 20 animation: TransformNone 100s infinite; 21 transform: none !important; 22 } 23 </style> 24 <span></span> 25 <div id="test"></div>