diff options
author | Manish Goregaokar <manishsmail@gmail.com> | 2014-11-24 21:49:55 +0530 |
---|---|---|
committer | Manish Goregaokar <manishsmail@gmail.com> | 2014-12-05 18:34:49 -0800 |
commit | 6482e313d646e25368548eb734a8ed49a4dfcee7 (patch) | |
tree | 7246c87874279334fcf94d566f331f8523896abb /components/script/dom/activation.rs | |
parent | c89ec3910f15f3a71be66d60da5cfd9aed1b30f1 (diff) | |
download | servo-6482e313d646e25368548eb734a8ed49a4dfcee7.tar.gz servo-6482e313d646e25368548eb734a8ed49a4dfcee7.zip |
Implement implicit form submission
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(); |