diff options
Diffstat (limited to 'components/script/dom/activation.rs')
-rw-r--r-- | components/script/dom/activation.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/components/script/dom/activation.rs b/components/script/dom/activation.rs index 267ca5d58a1..e4a54112e58 100644 --- a/components/script/dom/activation.rs +++ b/components/script/dom/activation.rs @@ -25,6 +25,9 @@ pub trait Activatable : Copy { // https://html.spec.whatwg.org/multipage/interaction.html#run-post-click-activation-steps fn activation_behavior(&self); + // https://html.spec.whatwg.org/multipage/forms.html#implicit-submission + fn implicit_submission(&self, ctrlKey: bool, shiftKey: bool, altKey: bool, metaKey: bool); + // https://html.spec.whatwg.org/multipage/interaction.html#run-synthetic-click-activation-steps fn synthetic_click_activation(&self, ctrlKey: bool, shiftKey: bool, altKey: bool, metaKey: bool) { let element = self.as_element().root(); |