Summary: | [BlackBerry] Make image clickable when it has anchor as parent node. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Tiancheng Jiang <tijiang> | ||||||
Component: | WebKit BlackBerry | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | commit-queue | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Tiancheng Jiang
2013-06-05 12:37:30 PDT
Created attachment 203876 [details]
Patch
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? Created attachment 203878 [details]
Patch
Comment on attachment 203878 [details]
Patch
LGTM.
Comment on attachment 203878 [details] Patch Clearing flags on attachment: 203878 Committed r151240: <http://trac.webkit.org/changeset/151240> All reviewed patches have been landed. Closing bug. |