Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[Chromium] We should reset mouse position before calling eventSender.…
…mouseMove in LayoutTest https://bugs.webkit.org/show_bug.cgi?id=79748 Calls eventSender.moveTo(0, 0) before other eventSender.moveTo call to make sure test scripts get mousemove event. Patch by Yoshifumi Inoue <yosin@chromium.org> on 2012-02-28 Reviewed by Kent Tamura. * fast/forms/number/input-number-events.html: * fast/forms/number/input-number-large-padding.html: * fast/forms/number/input-spinbutton-capturing.html: Canonical link: https://commits.webkit.org/96854@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@109093 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
bcac020
commit d99f8ab28d3625859da08e9dad0e07fbb28f7a32
Showing
4 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -20,6 +20,7 @@ | ||
|
||
if (window.eventSender) { | ||
debug('Initial state'); | ||
eventSender.mouseMoveTo(0, 0); | ||
shouldBe('changeEventCounter', '0'); | ||
shouldBe('inputEventCounter', '0'); | ||
|
||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters