Title: [136671] trunk/Source/WebCore
Revision
136671
Author
[email protected]
Date
2012-12-05 04:38:47 -0800 (Wed, 05 Dec 2012)

Log Message

Fix flickering when hiding page popup
https://bugs.webkit.org/show_bug.cgi?id=104100

Reviewed by Kent Tamura.

Moving the page popup while hiding was causing flickering in some environments.

No new tests. Can't reproduce in layout test.

* Resources/pagepopups/pickerCommon.js:
(hideWindow): Don't move and just resize.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (136670 => 136671)


--- trunk/Source/WebCore/ChangeLog	2012-12-05 12:38:20 UTC (rev 136670)
+++ trunk/Source/WebCore/ChangeLog	2012-12-05 12:38:47 UTC (rev 136671)
@@ -1,3 +1,17 @@
+2012-12-05  Keishi Hattori  <[email protected]>
+
+        Fix flickering when hiding page popup
+        https://bugs.webkit.org/show_bug.cgi?id=104100
+
+        Reviewed by Kent Tamura.
+
+        Moving the page popup while hiding was causing flickering in some environments.
+
+        No new tests. Can't reproduce in layout test.
+
+        * Resources/pagepopups/pickerCommon.js:
+        (hideWindow): Don't move and just resize.
+
 2012-12-05  Allan Sandfeld Jensen  <[email protected]>
 
         [Qt] Don't rely on QMimeDatabase for essential MIME types

Modified: trunk/Source/WebCore/Resources/pagepopups/pickerCommon.js (136670 => 136671)


--- trunk/Source/WebCore/Resources/pagepopups/pickerCommon.js	2012-12-05 12:38:20 UTC (rev 136670)
+++ trunk/Source/WebCore/Resources/pagepopups/pickerCommon.js	2012-12-05 12:38:47 UTC (rev 136671)
@@ -171,7 +171,7 @@
 }
 
 function hideWindow() {
-    setWindowRect(new Rectangle(0, 0, 1, 1));
+    resizeWindow(1, 1);
 }
 
 window.addEventListener("resize", function() {
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to