RESOLVED DUPLICATE of bug 20850 38196
Dynamically changing coords of an area does nothing
https://bugs.webkit.org/show_bug.cgi?id=38196
Summary Dynamically changing coords of an area does nothing
Michel
Reported 2010-04-27 06:40:52 PDT
This code does nothing : ======================================== var ar=document.getElementById('area2'); ar.coords="325,325,560,455"; ======================================== Note that an "addEventListener" has been added to the area (mouseover and mouseout) Also note that the code works in IE and FF but not in Chrome or Safari. Finally, please note I'm not using the latest WebKit release but looked up in bugzilla first. =================== HTML part : <BODY> <img id="img" src="test.jpg" border="2px" style="border-color:black" USEMAP="#Mapxx"> <map name="Mapxx"> <area shape="RECT" id="area2" coords="325,125,560,255"> </map> .... </BODY> ======================================== Sorry if I did not selected the right component. Great work !
Attachments
Michel
Comment 1 2010-04-27 14:27:01 PDT
Seems to be almost the same than #20850 : https://bugs.webkit.org/show_bug.cgi?id=20850 Except that work-around will not work because of EventListener which will be lost.
Alexey Proskuryakov
Comment 2 2010-04-27 14:29:56 PDT
Indeed! Thanks for finding the duplicate. *** This bug has been marked as a duplicate of bug 20850 ***
Note You need to log in before you can comment on or make changes to this bug.