Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: third_party/WebKit/Source/core/events/PointerEvent.cpp

Issue 2716063002: Send pointer events regardless of it being a disabled form control. (Closed)
Patch Set: Add layout test Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/events/PointerEvent.cpp
diff --git a/third_party/WebKit/Source/core/events/PointerEvent.cpp b/third_party/WebKit/Source/core/events/PointerEvent.cpp
index 8b416ad4541949e45538f63a32497784980fb225..5b8d1521966ee759627c497a363cfc4c404dca39 100644
--- a/third_party/WebKit/Source/core/events/PointerEvent.cpp
+++ b/third_party/WebKit/Source/core/events/PointerEvent.cpp
@@ -83,9 +83,6 @@ PointerEvent& PointerEventDispatchMediator::event() const {
DispatchEventResult PointerEventDispatchMediator::dispatchEvent(
EventDispatcher& dispatcher) const {
- if (isDisabledFormControl(&dispatcher.node()))
- return DispatchEventResult::CanceledBeforeDispatch;
-
if (event().type().isEmpty())
return DispatchEventResult::NotCanceled; // Shouldn't happen.

Powered by Google App Engine
This is Rietveld 408576698