RESOLVED FIXED 235022
Modal container observer should classify elements that are styled like clickable controls
https://bugs.webkit.org/show_bug.cgi?id=235022
Summary Modal container observer should classify elements that are styled like clicka...
Wenson Hsieh
Reported 2022-01-09 15:46:16 PST
.
Attachments
Patch (8.37 KB, patch)
2022-01-10 10:42 PST, Wenson Hsieh
ews-feeder: commit-queue-
Wenson Hsieh
Comment 1 2022-01-10 10:42:26 PST
Tim Horton
Comment 2 2022-01-10 12:58:12 PST
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.
Wenson Hsieh
Comment 3 2022-01-10 13:09:53 PST
(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...
EWS
Comment 4 2022-01-10 15:00:03 PST
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].
Radar WebKit Bug Importer
Comment 5 2022-01-10 15:01:16 PST
Note You need to log in before you can comment on or make changes to this bug.