.
Created attachment 448772 [details] Patch
Comment on attachment 448772 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=448772&action=review > Source/WebCore/page/ModalContainerObserver.cpp:300 > +static bool listensForUserActivation(const Element& element) This seems like a handy thing, I'm surprised it's unique to this code.
(In reply to Tim Horton from comment #2) > Comment on attachment 448772 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=448772&action=review > > > Source/WebCore/page/ModalContainerObserver.cpp:300 > > +static bool listensForUserActivation(const Element& element) > > This seems like a handy thing, I'm surprised it's unique to this code. True! I suppose it is similar to the list in `Node::willRespondToMouseClickEvents()`, but with the addition of some pointer and touch events (and without the editability check). I could imagine moving it to somewhere like `Node` in the future, if more things outside of ModalContainerObserver find it useful...
Committed r287860 (245904@main): <https://commits.webkit.org/245904@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 448772 [details].
<rdar://problem/87364047>