[Webkit-unassigned] [Bug 26511] New: No click event for image when an imagemap is defined

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 18 04:32:14 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=26511

           Summary: No click event for image when an imagemap is defined
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebCore JavaScript
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: bert at bertg.be


Reproducing:
<img onclick="alert('clicked image');"
src="http://webkit.org/images/icon-gold.png" usemap="#map">
<map name="map"></map>

Expected behaviour:
Display an alert message when clicking the image.

Behaviour:
Nothing happens

Scope:
I have tested this with both the latest stable versions of Safari, Chrome and
the NightlyBuild both on Mac OS X 10.5.7 and Windows XP. The unexpected
behaviour only happened on the mac

I do not know if this is what it's supposed to do, but older versions of WebKit
on OS X had the expected behaviour. Sadly I can't pinpoint when the change in
behaviour happened.
I only checked for the click event, there's probably a good chance of other
events not being triggered.

Possibly related:
When right-clicking on an image with a imagemap and selecting "Inspect Element"
it will select the images parent element in the DOM view, where the image
should be selected.


-- 
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