RESOLVED FIXED195478
[ContentChangeObserver] Expand "isConsideredClickable" to descendants
https://bugs.webkit.org/show_bug.cgi?id=195478
Summary [ContentChangeObserver] Expand "isConsideredClickable" to descendants
alan
Reported 2019-03-08 14:06:28 PST
In case when the visible content already had renderers it's not sufficient to check the "newly visible" element only since it might just be the container for the clickable content.
Attachments
Patch (9.13 KB, patch)
2019-03-08 14:31 PST, alan
no flags
Patch (9.37 KB, patch)
2019-03-08 14:34 PST, alan
no flags
Patch (9.43 KB, patch)
2019-03-08 14:57 PST, alan
no flags
Radar WebKit Bug Importer
Comment 1 2019-03-08 14:06:54 PST
alan
Comment 2 2019-03-08 14:31:57 PST
alan
Comment 3 2019-03-08 14:34:24 PST
Simon Fraser (smfr)
Comment 4 2019-03-08 14:48:24 PST
Comment on attachment 364069 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=364069&action=review > Source/WebCore/ChangeLog:9 > + In StyleChangeScope we try to figure out whether a newly visible content should stick (menu panes etc) by checking if it is clickable. "newly visible content"? > Source/WebCore/page/ios/ContentChangeObserver.cpp:310 > + if (!m_wasHidden || isConsideredHidden()) Would be clearer as if (changedFromHiddenToVisible())
alan
Comment 5 2019-03-08 14:57:46 PST
WebKit Commit Bot
Comment 6 2019-03-08 15:51:11 PST
Comment on attachment 364073 [details] Patch Clearing flags on attachment: 364073 Committed r242661: <https://trac.webkit.org/changeset/242661>
WebKit Commit Bot
Comment 7 2019-03-08 15:51:12 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.