WebCore:
Reviewed by Darin.
Fix for <rdar://problem/
5674667> fast/forms/slider-mouse-events.html is broken by media control checkin 29257
* rendering/RenderSlider.cpp: (WebCore::HTMLSliderThumbElement::defaultEventHandler):
After fixing a bug in EventHandler to make sure events always go to the capturing node, this bug was exposed.
MouseMove and MouseUp events were going to the thumb element, but not to the slider input element.
This change makes the input element the capturing node, and then the input element forwards the mouse events to the thumb element.
I also added a missing call to setDefaultHandled for the mousemove event.
LayoutTests:
Reviewed by Darin.
Updated test for:
<rdar://problem/
5674667> fast/forms/slider-mouse-events.html is broken by media control checkin 29257
* fast/forms/slider-mouse-events-expected.txt:
* fast/forms/slider-mouse-events.html: Now tests mousemove events too.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@29315
268f45cc-cd09-0410-ab3c-
d52691b4dbfc