Bug 38196
Summary: | Dynamically changing coords of an area does nothing | ||
---|---|---|---|
Product: | WebKit | Reporter: | Michel <migrigaut> |
Component: | Forms | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Critical | CC: | ap, migrigaut |
Priority: | P2 | ||
Version: | 412 | ||
Hardware: | PC | ||
OS: | Windows XP |
Michel
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Michel
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
Indeed! Thanks for finding the duplicate.
*** This bug has been marked as a duplicate of bug 20850 ***