mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
parent
8ecbed9e42
commit
7ce40080bf
7 changed files with 85 additions and 159 deletions
|
@ -30,9 +30,6 @@ pub trait Activatable {
|
|||
// https://html.spec.whatwg.org/multipage/#run-post-click-activation-steps
|
||||
fn activation_behavior(&self, event: &Event, target: &EventTarget);
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#implicit-submission
|
||||
fn implicit_submission(&self, ctrl_key: bool, shift_key: bool, alt_key: bool, meta_key: bool);
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#concept-selector-active
|
||||
fn enter_formal_activation_state(&self) {
|
||||
self.as_element().set_active_state(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue