Title: [125545] trunk/LayoutTests
Revision
125545
Author
[email protected]
Date
2012-08-14 04:43:44 -0700 (Tue, 14 Aug 2012)

Log Message

[Chromium] Fix test calendar-picker-appearance.html after r125507

Unreviewed.

* fast/forms/date/calendar-picker-appearance.html: Use resize event instead of transitionEnd.

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (125544 => 125545)


--- trunk/LayoutTests/ChangeLog	2012-08-14 11:42:04 UTC (rev 125544)
+++ trunk/LayoutTests/ChangeLog	2012-08-14 11:43:44 UTC (rev 125545)
@@ -1,3 +1,11 @@
+2012-08-14  Keishi Hattori  <[email protected]>
+
+        [Chromium] Fix test calendar-picker-appearance.html after r125507
+
+        Unreviewed.
+
+        * fast/forms/date/calendar-picker-appearance.html: Use resize event instead of transitionEnd.
+
 2012-08-10 Thiago Marcos P. Santos <[email protected]>
 
         [Qt] Remove duplicated platform test expectations

Modified: trunk/LayoutTests/fast/forms/date/calendar-picker-appearance.html (125544 => 125545)


--- trunk/LayoutTests/fast/forms/date/calendar-picker-appearance.html	2012-08-14 11:42:04 UTC (rev 125544)
+++ trunk/LayoutTests/fast/forms/date/calendar-picker-appearance.html	2012-08-14 11:43:44 UTC (rev 125545)
@@ -10,7 +10,7 @@
 
 function finishTest() {
     console.log(pickerWindow.pagePopupController);
-    pickerWindow.document.getElementById('main').removeEventListener('webkitTransitionEnd', finishTest);
+    pickerWindow.removeEventListener('resize', finishTest);
     setTimeout(function() {testRunner.notifyDone();}, 0);
 }
 
@@ -24,7 +24,7 @@
 dateInput.offsetTop;
 sendKey(dateInput, 'Down');
 var pickerWindow = document.getElementById('mock-page-popup').contentWindow;
-pickerWindow.document.getElementById('main').addEventListener('webkitTransitionEnd', finishTest, false);
+pickerWindow.addEventListener('resize', finishTest, false);
 </script>
 </body>
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to