RESOLVED FIXED Bug 113957
[BlackBerry] Adjust fatfinger result priority.
https://bugs.webkit.org/show_bug.cgi?id=113957
Summary [BlackBerry] Adjust fatfinger result priority.
Tiancheng Jiang
Reported 2013-04-04 13:44:00 PDT
A clickable element should have higher priority than its parent anchor.
Attachments
test page (1.79 KB, text/html)
2013-04-04 13:44 PDT, Tiancheng Jiang
no flags
Patch (6.41 KB, patch)
2013-04-04 13:50 PDT, Tiancheng Jiang
no flags
Tiancheng Jiang
Comment 1 2013-04-04 13:44:49 PDT
Created attachment 196518 [details] test page
Tiancheng Jiang
Comment 2 2013-04-04 13:50:08 PDT
Rob Buis
Comment 3 2013-04-04 13:58:35 PDT
Comment on attachment 196520 [details] Patch Ok.
WebKit Commit Bot
Comment 4 2013-04-04 17:24:50 PDT
Comment on attachment 196520 [details] Patch Clearing flags on attachment: 196520 Committed r147687: <http://trac.webkit.org/changeset/147687>
WebKit Commit Bot
Comment 5 2013-04-04 17:24:53 PDT
All reviewed patches have been landed. Closing bug.
Antonio Gomes
Comment 6 2013-04-07 09:16:19 PDT
Comment on attachment 196520 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=196520&action=review > Source/WebKit/blackberry/ChangeLog:13 > + > + RIM PR 224781 > + Internally Reviewed by Genevieve Mak. > + > + Change fatfigner algorithm, return the clickable element rather than > + its parent anchor. Modify taphighlight and context menu node selection > + accordingly. It should really mention what it fixes in real world. > Source/WebKit/blackberry/WebKitSupport/FatFingers.cpp:166 > + const HitTestResult& hitResult = m_webPage->hitTestResult(m_contentPos); Do you still have phases in FatFinger? The 'cached' results, was to avoid hit testing again, and saving up to .3s for some websites. > Source/WebKit/blackberry/WebKitSupport/FatFingers.cpp:171 > + Element* elementUnderPoint = static_cast<Element*>(node); there is a toElement helper
Note You need to log in before you can comment on or make changes to this bug.