Bug 62562 - Frame::visiblePositionForPoint returns null position if the point is over an imagemap
Summary: Frame::visiblePositionForPoint returns null position if the point is over an ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Enrica Casucci
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2011-06-13 10:47 PDT by Enrica Casucci
Modified: 2011-06-13 15:38 PDT (History)
0 users

See Also:


Attachments
Patch (1.73 KB, patch)
2011-06-13 15:32 PDT, Enrica Casucci
enrica: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Enrica Casucci 2011-06-13 10:47:57 PDT
The innerNode() of an imageMap is an area, and doesn't have a renderer and therefore can't report a position.

<rdar://problem/9313885>
Comment 1 Enrica Casucci 2011-06-13 15:32:10 PDT
Created attachment 97019 [details]
Patch

Postin this patch on behalf of Morgan Winer.
Comment 2 Enrica Casucci 2011-06-13 15:33:40 PDT
Comment on attachment 97019 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=97019&action=review

> Source/WebCore/ChangeLog:18
> +        (WebCore::Frame::visiblePositionForPoint): Changin innerNode() to innerNonSharedNode().

Typo "Changin"
Comment 3 Enrica Casucci 2011-06-13 15:38:49 PDT
On behalf of Morgan Winer:
Committed revision 88718.