Hi All
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
Node as:
bool MouseEventDispatchMediator::dispatchEvent(EventDispatcher* dispatcher)
const
{
if (isDisabledFormControl(dispatcher->node()))
return false;
}
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
Mouse events
Bugs :https://bugs.webkit.org/show_bug.cgi?id=102841 -->good testcase to
show behavior
and https://bugs.webkit.org/show_bug.cgi?id=116821
are related to this.
what should be the correct behavior ??
Thanks
Santosh Mahto
_______________________________________________
webkit-dev mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-dev