mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Implement implicit form submission
This commit is contained in:
parent
c89ec3910f
commit
6482e313d6
3 changed files with 24 additions and 3 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue