[Webkit-unassigned] [Bug 22788] New: [Transforms] Server-side image maps not transform-aware
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Dec 10 10:45:41 PST 2008
https://bugs.webkit.org/show_bug.cgi?id=22788
Summary: [Transforms] Server-side image maps not transform-aware
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: simon.fraser at apple.com
There is code in HTMLAnchorElement::defaultEventHandler():
HTMLImageElement* img =
static_cast<HTMLImageElement*>(evt->target()->toNode());
if (img && img->isServerMap()) {
RenderImage* r = static_cast<RenderImage*>(img->renderer());
if (r && e) {
// FIXME: broken with transforms
FloatPoint absPos = r->localToAbsolute();
int x = e->pageX() - absPos.x();
int y = e->pageY() - absPos.y();
url += "?";
url += String::number(x);
url += ",";
url += String::number(y);
that is not transform-aware
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list