[webkit-dev] [forms][MouseEvent]Mouse event For disabled Form element is disabled but not for asscociated shadow dom node
santoshbit2007 at gmail.com
Mon May 27 21:05:19 PDT 2013
Currently We disable mouse event for Disabled Form Element But its
associated dom node still receives the Mouse event
Disabling of Mouse event is disabled before Dispatching the event at Dom
bool MouseEventDispatchMediator::dispatchEvent(EventDispatcher* dispatcher)
But Shadow Dom Node associated with form element still receives and
handles the DOM Mouse Events.
e.g <input type=text disabled >
here HTMLInputElement will not receive any event but its associated
dom node (spinbuttonelement, innerTextControlElement)
still receives and handles the mouse event.
I think if element (shadow host) is disabled to receive the mouse event
then all itsassociated shadow node also should be disabled for receiving
Bugs :https://bugs.webkit.org/show_bug.cgi?id=102841 -->good testcase to
are related to this.
what should be the correct behavior ??
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev