[Webkit-unassigned] [Bug 9504] img tag rewritten by
document.getelementbyid doesnt use image map
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Mon Jun 19 03:52:57 PDT 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=9504
------- Comment #1 from mhinks at gmail.com 2006-06-19 03:52 PDT -------
My mistake: test case #2 now shows a working example thereby showing that it is
the rewrite of the map that causes the failure.
(In reply to comment #0)
> 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