4873 - Support the image map processing for <img ismap/> inside an <a/>

This commit is contained in:
Shing Lyu 2015-03-12 20:46:16 +08:00
parent 07520de970
commit 7a65b95ae5
7 changed files with 65 additions and 20 deletions

View file

@ -1637,7 +1637,7 @@ impl<'a> ActivationElementHelpers<'a> for JSRef<'a, Element> {
event.fire(target);
if !event.DefaultPrevented() {
// post click activation
elem.activation_behavior();
elem.activation_behavior(event, target);
} else {
elem.canceled_activation();
}