From 9470080762aecca5285d0f5cac4ae01540bbad4c Mon Sep 17 00:00:00 2001 From: Matias Niemelä Date: Wed, 6 Nov 2013 01:57:34 -0500 Subject: fix($animate): only apply the fallback property if any transition animations are detected --- css/angular.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'css/angular.css') diff --git a/css/angular.css b/css/angular.css index 46fee32d..029d3a7d 100644 --- a/css/angular.css +++ b/css/angular.css @@ -18,5 +18,5 @@ ng\:form { * animations. The clip (!ie) and zoom (ie) CSS properties are used * since they trigger a transition without making the browser * animate anything and they're both highly underused CSS properties */ -.ng-animate { clip:rect(1px, auto, auto, 0); -ms-zoom:1.0001; } -.ng-animate-active { clip:rect(0, auto, auto, 0); -ms-zoom:1; } +.ng-animate-start { clip:rect(0, auto, auto, 0); -ms-zoom:1.0001; } +.ng-animate-active { clip:rect(-1px, auto, auto, 0); -ms-zoom:1; } -- cgit v1.2.3