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

@ -753,7 +753,7 @@ impl<'a> Activatable for JSRef<'a, HTMLInputElement> {
}
// https://html.spec.whatwg.org/multipage/interaction.html#run-post-click-activation-steps
fn activation_behavior(&self) {
fn activation_behavior(&self, _event: JSRef<Event>, _target: JSRef<EventTarget>) {
let ty = self.input_type.get();
if self.activation_state.borrow().old_type != ty {
// Type changed, abandon ship