aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlinputelement.rs
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2015-04-14 00:10:08 -0500
committerbors-servo <metajack+bors@gmail.com>2015-04-14 00:10:08 -0500
commit4fac8b6810d9d748fffc025cfd1bb1d2b6c5655d (patch)
tree4e5f039f95c904475455d776153334c512f061f3 /components/script/dom/htmlinputelement.rs
parent55de52d76ad0c864b7875c561df5c5f3867b2d73 (diff)
parent7a65b95ae5c847f5a6dbb650865ca6d14490e9bc (diff)
downloadservo-4fac8b6810d9d748fffc025cfd1bb1d2b6c5655d.tar.gz
servo-4fac8b6810d9d748fffc025cfd1bb1d2b6c5655d.zip
Auto merge of #5593 - shinglyu:ismap, r=jdm
This implements issue 4873
Diffstat (limited to 'components/script/dom/htmlinputelement.rs')
-rw-r--r--components/script/dom/htmlinputelement.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmlinputelement.rs b/components/script/dom/htmlinputelement.rs
index 30cd0676eb1..5bd170ebea7 100644
--- a/components/script/dom/htmlinputelement.rs
+++ b/components/script/dom/htmlinputelement.rs
@@ -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