Bug 117271

Summary: [BlackBerry] Make image clickable when it has anchor as parent node.
Product: WebKit Reporter: Tiancheng Jiang <tijiang>
Component: WebKit BlackBerryAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Tiancheng Jiang
Reported 2013-06-05 12:37:30 PDT
Make the image click-able when it has anchor as parent. Although to check all the ancestors would be safe but it is too expensive. We will consider that later.
Attachments
Patch (1.67 KB, patch)
2013-06-05 13:08 PDT, Tiancheng Jiang
no flags
Patch (1.70 KB, patch)
2013-06-05 13:33 PDT, Tiancheng Jiang
no flags
Tiancheng Jiang
Comment 1 2013-06-05 13:08:01 PDT
Rob Buis
Comment 2 2013-06-05 13:13:42 PDT
Comment on attachment 203876 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=203876&action=review > Source/WebKit/blackberry/WebKitSupport/FatFingers.cpp:96 > + || (element->hasTagName(HTMLNames::imgTag) && element->parentNode()->hasTagName(HTMLNames::aTag))) Is it possible for parentNode to be null here?
Tiancheng Jiang
Comment 3 2013-06-05 13:33:30 PDT
Rob Buis
Comment 4 2013-06-05 13:58:35 PDT
Comment on attachment 203878 [details] Patch LGTM.
WebKit Commit Bot
Comment 5 2013-06-05 14:40:17 PDT
Comment on attachment 203878 [details] Patch Clearing flags on attachment: 203878 Committed r151240: <http://trac.webkit.org/changeset/151240>
WebKit Commit Bot
Comment 6 2013-06-05 14:40:19 PDT
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.