Changeset 195817 in webkit
- Timestamp:
- Jan 29, 2016, 9:44:34 AM (10 years ago)
- Location:
- branches/safari-601-branch/Source/WebCore/dom
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-601-branch/Source/WebCore/dom/Node.cpp
r186388 r195817 1996 1996 return; 1997 1997 1998 if (is<Element>(*this) && downcast<Element>(*this).isDisabledFormControl() && event.isMouseEvent()) 1998 // FIXME: Should we deliver wheel events to disabled form controls or not? 1999 if (is<Element>(*this) && downcast<Element>(*this).isDisabledFormControl() && event.isMouseEvent() && !event.isWheelEvent()) 1999 2000 return; 2000 2001 -
branches/safari-601-branch/Source/WebCore/dom/WheelEvent.cpp
r182748 r195817 115 115 } 116 116 117 bool WheelEvent::isMouseEvent() const118 {119 return false;120 }121 122 117 bool WheelEvent::isWheelEvent() const 123 118 { -
branches/safari-601-branch/Source/WebCore/dom/WheelEvent.h
r177264 r195817 92 92 93 93 virtual EventInterface eventInterface() const override; 94 virtual bool isMouseEvent() const override;95 94 96 95 #if PLATFORM(MAC)
Note:
See TracChangeset
for help on using the changeset viewer.