Auto merge of #5593 - shinglyu:ismap, r=jdm

This implements issue 4873
This commit is contained in:
bors-servo 2015-04-14 00:10:08 -05:00
commit 4fac8b6810
7 changed files with 65 additions and 20 deletions

View file

@ -1675,7 +1675,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();
}