Title: [125507] trunk/Source/WebCore
Revision
125507
Author
[email protected]
Date
2012-08-13 21:29:02 -0700 (Mon, 13 Aug 2012)

Log Message

Remove fade in transition from calendar picker
https://bugs.webkit.org/show_bug.cgi?id=93816

Reviewed by Kent Tamura.

The fade in transition was incomplete because it was only fading in the
popup content and not the popup itself. Removing the effect for now.

No new tests. Can't test animation.

* Resources/calendarPicker.css:
(#main):
* Resources/calendarPicker.js:
(initialize):
(fixWindowSize):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (125506 => 125507)


--- trunk/Source/WebCore/ChangeLog	2012-08-14 03:32:12 UTC (rev 125506)
+++ trunk/Source/WebCore/ChangeLog	2012-08-14 04:29:02 UTC (rev 125507)
@@ -1,3 +1,21 @@
+2012-08-13  Keishi Hattori  <[email protected]>
+
+        Remove fade in transition from calendar picker
+        https://bugs.webkit.org/show_bug.cgi?id=93816
+
+        Reviewed by Kent Tamura.
+
+        The fade in transition was incomplete because it was only fading in the
+        popup content and not the popup itself. Removing the effect for now.
+
+        No new tests. Can't test animation.
+
+        * Resources/calendarPicker.css:
+        (#main):
+        * Resources/calendarPicker.js:
+        (initialize):
+        (fixWindowSize):
+
 2012-08-13  Alex Christensen  <[email protected]>
 
         WPARAM and LPARAM are incorrectly defined for x64

Modified: trunk/Source/WebCore/Resources/calendarPicker.css (125506 => 125507)


--- trunk/Source/WebCore/Resources/calendarPicker.css	2012-08-14 03:32:12 UTC (rev 125506)
+++ trunk/Source/WebCore/Resources/calendarPicker.css	2012-08-14 04:29:02 UTC (rev 125507)
@@ -47,9 +47,8 @@
         inset -2px -2px 1px rgba(0,0,0,0.1);
     padding: 6px;
     whitespace: nowrap;
-    /* width and opacity are reset in the JS code. */
+    /* width is reset in the JS code. */
     width: 500px;
-    opacity: 0;
 }
 
 .year-month-area {

Modified: trunk/Source/WebCore/Resources/calendarPicker.js (125506 => 125507)


--- trunk/Source/WebCore/Resources/calendarPicker.js	2012-08-14 03:32:12 UTC (rev 125506)
+++ trunk/Source/WebCore/Resources/calendarPicker.js	2012-08-14 04:29:02 UTC (rev 125507)
@@ -237,12 +237,6 @@
     }
 }
 
-function showMain() {
-    var main = $("main");
-    main.style.webkitTransition = "opacity 0.1s ease";
-    main.style.opacity = "1";
-}
-
 // ----------------------------------------------------------------
 // Initialization
 
@@ -308,7 +302,6 @@
     if (errorString) {
         main.textContent = "Internal error: " + errorString;
         resizeWindow(main.offsetWidth, main.offsetHeight);
-        showMain();
     } else {
         global.params = args;
         checkLimits();
@@ -359,7 +352,6 @@
     document.getElementsByClassName(ClassNames.YearMonthUpper)[0].style.display = "-webkit-box";
     document.getElementsByClassName(ClassNames.MonthSelectorBox)[0].style.display = "block";
     resizeWindow(desiredBodyWidth, mainHeight);
-    showMain();
 }
 
 function checkLimits() {
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to