Changeset 106476 in webkit
- Timestamp:
- Feb 1, 2012 10:45:17 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r106472 r106476 1 2012-02-01 Nate Chapin <japhet@chromium.org> 2 3 Test for https://bugs.webkit.org/show_bug.cgi?id=73097. 4 Test adapted from repro case provided by zacklloyd@google.com. 5 6 Reviewed by Darin Adler. 7 8 * fast/events/resources/subframe-with-scrollable-div.html: Added. 9 * fast/events/scroll-div-with-prevent-default-in-subframe-expected.txt: Added. 10 * fast/events/scroll-div-with-prevent-default-in-subframe.html: Added. 11 1 12 2012-02-01 Mario Sanchez Prada <msanchez@igalia.com> 2 13 -
trunk/Source/WebCore/ChangeLog
r106472 r106476 1 2012-02-01 Nate Chapin <japhet@chromium.org> 2 3 preventDefault() in a mousedown in a subframe should not 4 prevent the scrollbar from handling mouse movements if the 5 cursor leaves the subframe. 6 https://bugs.webkit.org/show_bug.cgi?id=73097 7 8 Reviewed by Darin Adler. 9 10 Test: fast/events/scroll-div-with-prevent-default-in-subframe.html 11 12 * page/EventHandler.cpp: 13 (WebCore::EventHandler::handleMousePressEvent): 14 1 15 2012-02-01 Mario Sanchez Prada <msanchez@igalia.com> 2 16 -
trunk/Source/WebCore/page/EventHandler.cpp
r105659 r106476 1462 1462 1463 1463 bool swallowEvent = dispatchMouseEvent(eventNames().mousedownEvent, targetNode(mev), true, m_clickCount, mouseEvent, true); 1464 m_capturesDragging = !swallowEvent ;1464 m_capturesDragging = !swallowEvent || mev.scrollbar(); 1465 1465 1466 1466 // If the hit testing originally determined the event was in a scrollbar, refetch the MouseEventWithHitTestResults
Note: See TracChangeset
for help on using the changeset viewer.