WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Details
Patch
(6.41 KB, patch)
2013-04-04 13:50 PDT
,
Tiancheng Jiang
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
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
Created
attachment 196520
[details]
Patch
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.
Top of Page
Format For Printing
XML
Clone This Bug