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.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/script/dom/activation.rs b/components/script/dom/activation.rs
index 78e3d6cd4bb..9bd7d4d8f36 100644
--- a/components/script/dom/activation.rs
+++ b/components/script/dom/activation.rs
@@ -17,6 +17,9 @@ use std::borrow::ToOwned;
pub trait Activatable : Copy {
fn as_element(&self) -> Temporary<Element>;
+ // Is this particular instance of the element activatable?
+ fn is_instance_activatable(&self) -> bool;
+
// https://html.spec.whatwg.org/multipage/interaction.html#run-pre-click-activation-steps
fn pre_click_activation(&self);