Changeset 150588 in webkit
- Timestamp:
- May 23, 2013 9:11:25 AM (11 years ago)
- Location:
- trunk/Source/WebKit/blackberry
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/blackberry/Api/WebPage.cpp
r150434 r150588 2162 2162 2163 2163 bool nodeAllowSelectionOverride = false; 2164 bool nodeIsImage = node->isHTMLElement() && node->hasTagName(HTMLNames::imgTag); 2164 2165 Node* linkNode = node->enclosingLinkEventParentOrSelf(); 2165 2166 // Set link url only when the node is linked image, or text inside anchor. Prevent CCM popup when long press non-link element(eg. button) inside an anchor. 2166 if ( (node == linkNode) || (node->isTextNode() && linkNode)) {2167 if (linkNode && (node == linkNode || node->isTextNode() || nodeIsImage)) { 2167 2168 KURL href; 2168 2169 if (linkNode->isLink() && linkNode->hasAttributes()) { -
trunk/Source/WebKit/blackberry/ChangeLog
r150587 r150588 1 2013-05-23 Ed Baker <edbaker@blackberry.com> 2 3 [BlackBerry] The web context does not contain any link properties if the context node is an image enclosed by a link node 4 https://bugs.webkit.org/show_bug.cgi?id=116627 5 6 Reviewed by Xan Lopez. 7 8 PR #341084 9 10 If the context node has an image tag and an enclosing link node was detected then add the link properties to the context. 11 12 Internally Reviewed by Gen Mak. 13 14 * Api/WebPage.cpp: 15 (BlackBerry::WebKit::WebPagePrivate::webContext): 16 1 17 2013-05-23 Mike Fenton <mifenton@rim.com> 2 18
Note: See TracChangeset
for help on using the changeset viewer.