aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/activation.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/activation.rs')
-rw-r--r--components/script/dom/activation.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/activation.rs b/components/script/dom/activation.rs
index 46ca27cabb5..c95969729b1 100644
--- a/components/script/dom/activation.rs
+++ b/components/script/dom/activation.rs
@@ -27,7 +27,7 @@ pub trait Activatable : Copy {
fn canceled_activation(&self);
// 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>);
// https://html.spec.whatwg.org/multipage/forms.html#implicit-submission
fn implicit_submission(&self, ctrlKey: bool, shiftKey: bool, altKey: bool, metaKey: bool);
@@ -60,7 +60,7 @@ pub trait Activatable : Copy {
self.canceled_activation();
} else {
// post click activation
- self.activation_behavior();
+ self.activation_behavior(event, target);
}
// Step 6