[gnome-shell] Fix remaining uses of transition-duration without time units



commit 3b31774dd36c195069211997f84d44875801a882
Author: Rui Matos <tiagomatos gmail com>
Date:   Sat Jan 12 01:29:10 2013 +0100

    Fix remaining uses of transition-duration without time units
    
    Commit 8be3c5ed21643369f963e4638a578e32271ce749 changed the CSS parser
    to only accept values with explicit time units.

 js/ui/panel.js            |    2 +-
 tests/testcommon/test.css |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/panel.js b/js/ui/panel.js
index dada027..62d3b7f 100644
--- a/js/ui/panel.js
+++ b/js/ui/panel.js
@@ -852,7 +852,7 @@ const PanelCorner = new Lang.Class({
 
             // The corner doesn't support theme transitions, so override
             // the .panel-button default
-            button.style = 'transition-duration: 0';
+            button.style = 'transition-duration: 0ms';
         }
     },
 
diff --git a/tests/testcommon/test.css b/tests/testcommon/test.css
index 6cbadfb..a181c8a 100644
--- a/tests/testcommon/test.css
+++ b/tests/testcommon/test.css
@@ -98,7 +98,7 @@ stage {
     background-color: #333;
     border: 2px solid black;
     border-radius: 8px;
-    transition-duration: 1000; /* One second */
+    transition-duration: 1s;
 }
 
 #transition-container:hover .transition-label {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]