[Webkit-unassigned] [Bug 9504] New: img tag rewritten by document.getelementbyid doesnt use image map

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Mon Jun 19 03:39:07 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=9504

           Summary: img tag rewritten by document.getelementbyid doesnt use
                    image map
           Product: WebKit
           Version: 420+ (nightly)
          Platform: PC
               URL: http://www.m-s-d.net/test.htm
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: mhinks at gmail.com


Test case #1: http://www.m-s-d.net/test.htm
Test case #2: http://www.m-s-d.net/test2.htm

Test case #1 shows a <span> tag being rewritten to contain an img tag with a
usemap property and a <map> tag complete with areas. The write works when
called from anything other than the function called when the imagemap is
clicked. ie. it works on page load, but rewriting the tag via a function called
from a click on the imagemap does not. After the rewrite called from within the
imagemap click the zonemap does not work.

Test case #2 shows a <span> tag being rewritten to contain an img tag with a
usemap property. The map is stored inline with the document after the span tag
and not generated dynamically. In this case the zonemap never functions
correctly.

These behaviours work as expected in Firefox and Internet Explorer (tested on
WinXP SP2)


-- 
Configure bugmail: http://bugzilla.opendarwin.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