Title: [88527] trunk/LayoutTests
Revision
88527
Author
[email protected]
Date
2011-06-09 23:42:57 -0700 (Thu, 09 Jun 2011)

Log Message

2011-06-10  Mahesh Kulkarni  <[email protected]>

        Reviewed by Antonio Gomes.

        [Qt] LayoutTests/fast/history/history_reload.html failing
        https://bugs.webkit.org/show_bug.cgi?id=62369

        Unskipping. Generating click of button element in generic way.
        Remove hardcoding of click co-ordinates to avoid native font differences.

        * fast/history/history_reload.html:
        * platform/qt/Skipped:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (88526 => 88527)


--- trunk/LayoutTests/ChangeLog	2011-06-10 06:20:58 UTC (rev 88526)
+++ trunk/LayoutTests/ChangeLog	2011-06-10 06:42:57 UTC (rev 88527)
@@ -1,3 +1,16 @@
+2011-06-10  Mahesh Kulkarni  <[email protected]>
+
+        Reviewed by Antonio Gomes.
+
+        [Qt] LayoutTests/fast/history/history_reload.html failing
+        https://bugs.webkit.org/show_bug.cgi?id=62369
+
+        Unskipping. Generating click of button element in generic way.
+        Remove hardcoding of click co-ordinates to avoid native font differences.
+
+        * fast/history/history_reload.html:
+        * platform/qt/Skipped:
+
 2011-06-09  Csaba Osztrogonác  <[email protected]>
 
         [Qt] The profiler test is entirely unrelated to the original change r88337

Modified: trunk/LayoutTests/fast/history/history_reload.html (88526 => 88527)


--- trunk/LayoutTests/fast/history/history_reload.html	2011-06-10 06:20:58 UTC (rev 88526)
+++ trunk/LayoutTests/fast/history/history_reload.html	2011-06-10 06:42:57 UTC (rev 88527)
@@ -7,7 +7,8 @@
             layoutTestController.setCanOpenWindows();
             layoutTestController.dumpAsText();
             layoutTestController.waitUntilDone();
-            eventSender.mouseMoveTo(17, 30);
+            var button = document.getElementById("button");
+            eventSender.mouseMoveTo(button.offsetParent.offsetLeft + button.offsetLeft + button.offsetWidth / 2, button.offsetParent.offsetTop +  button.offsetTop + button.offsetHeight / 2);
             eventSender.mouseDown();
             eventSender.mouseUp();
         }
@@ -20,7 +21,7 @@
 </head>
 <body _onload_="test()">
     This tests that history.go(0) will force a page reload.<br>
-    <input type="button" _onclick_="openWindow()" value="click"></input>
+    <input id="button" type="button" _onclick_="openWindow()" value="click"></input>
     <div id="console"></div>
 </body>
 </html>

Modified: trunk/LayoutTests/platform/qt/Skipped (88526 => 88527)


--- trunk/LayoutTests/platform/qt/Skipped	2011-06-10 06:20:58 UTC (rev 88526)
+++ trunk/LayoutTests/platform/qt/Skipped	2011-06-10 06:42:57 UTC (rev 88527)
@@ -1231,10 +1231,6 @@
 # https://bugs.webkit.org/show_bug.cgi?id=40584
 fast/text/justify-padding-distribution.html
 
-# Failing tests introduced by changing the default font sizes to
-# conform other platforms. Probably caused by previously hidden bugs.
-fast/history/history_reload.html
-
 # This test fails because Qt does not support conditionals in unicode special casing.
 # See also http://trolltech.com/developer/task-tracker/index_html?id=212870&method=entry
 fast/css/case-transform.html
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to