Changeset 84440 in webkit
- Timestamp:
- Apr 20, 2011 5:23:28 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r84439 r84440 1 2011-04-20 Dimitri Glazkov <dglazkov@chromium.org> 2 3 Reviewed by Kent Tamura. 4 5 REGRESSION(r82376): Clicking on a label, associated with a disabled input element changes state of the element. 6 https://bugs.webkit.org/show_bug.cgi?id=59037 7 8 * fast/events/simulated-click-disabled-expected.txt: Added. 9 * fast/events/simulated-click-disabled.html: Added. 10 1 11 2011-04-20 Dirk Pranke <dpranke@chromium.org> 2 12 -
trunk/Source/WebCore/ChangeLog
r84436 r84440 1 2011-04-20 Dimitri Glazkov <dglazkov@chromium.org> 2 3 Reviewed by Kent Tamura. 4 5 REGRESSION(r82376): Clicking on a label, associated with a disabled input element changes state of the element. 6 https://bugs.webkit.org/show_bug.cgi?id=59037 7 8 Test: fast/events/simulated-click-disabled.html 9 10 * dom/EventDispatcher.cpp: 11 (WebCore::EventDispatcher::dispatchSimulatedClick): Added check for disabled element. 12 1 13 2011-04-20 Eric Seidel <eric@webkit.org> 2 14 -
trunk/Source/WebCore/dom/EventDispatcher.cpp
r84226 r84440 100 100 void EventDispatcher::dispatchSimulatedClick(Node* node, PassRefPtr<Event> underlyingEvent, bool sendMouseEvents, bool showPressedLook) 101 101 { 102 if (node->disabled()) 103 return; 104 102 105 EventDispatcher dispatcher(node); 103 106
Note: See TracChangeset
for help on using the changeset viewer.