diff options
author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-06 23:23:34 +0000 |
---|---|---|
committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-06 23:23:34 +0000 |
commit | ad4e7fa778963f9fdc54df345d9a1a1791fe955c (patch) | |
tree | 9631d6d61e93e0c0769e075d9eeeffc54238ffe0 /webkit/data | |
parent | 099eeed66d3217d466abcae8433a106eca7f1419 (diff) | |
download | chromium_src-ad4e7fa778963f9fdc54df345d9a1a1791fe955c.zip chromium_src-ad4e7fa778963f9fdc54df345d9a1a1791fe955c.tar.gz chromium_src-ad4e7fa778963f9fdc54df345d9a1a1791fe955c.tar.bz2 |
This fixes http://code.google.com/p/chromium/issues/detail?id=3007, which is the mouse-click-events.html
layout test failure. Fix as per below:-
1. The test shell mouse event generating mechanism now tracks the last mouse button number received. This is used to determine whether the click count continues to increment or not.
2. We now default to middle button if the button number passed in from js contains anything other than 0 or 2. This is as per the event sending mechanism in webkit mac.
We still need to re-baseline this test as the number of events printed on the page cause a scrollbar to show up for the 4th mouse event test. This causes the middle mouse button to be eaten as per recent changes in EventHandler.cpp.
Bug=3007
R=tony
Review URL: http://codereview.chromium.org/6261
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2917 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/data')
-rw-r--r-- | webkit/data/layout_test_results/common/LayoutTests/fast/events/mouse-click-events-expected.txt | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/webkit/data/layout_test_results/common/LayoutTests/fast/events/mouse-click-events-expected.txt b/webkit/data/layout_test_results/common/LayoutTests/fast/events/mouse-click-events-expected.txt new file mode 100644 index 0000000..591e822 --- /dev/null +++ b/webkit/data/layout_test_results/common/LayoutTests/fast/events/mouse-click-events-expected.txt @@ -0,0 +1,35 @@ +This tests what mouse events we send. + +On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". + + +Left Mouse Button +mousedown(0) +mouseup(0) +click(0) +mousedown(0) +mouseup(0) +click(0) +dblclick(0) +Middle Mouse Button +mousedown(1) +mouseup(1) +click(1) +mousedown(1) +mouseup(1) +click(1) +dblclick(1) +Right Mouse Button +mousedown(2) +mouseup(2) +mousedown(2) +mouseup(2) +4th Mouse Button +mousedown(1) +mouseup(1) +click(1) +mouseup(1) +PASS successfullyParsed is true + +TEST COMPLETE + |