Chromium Code Reviews
DescriptionThis 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
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=2917
Patch Set 1 #Patch Set 2 : '' #Patch Set 3 : '' #Patch Set 4 : '' #Patch Set 5 : '' #
Messages
Total messages: 4 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||