mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Event dispatch rewritten to resemble spec more often, activate on clicks better
This commit is contained in:
parent
ed9b584344
commit
01aba1fcc4
29 changed files with 466 additions and 556 deletions
|
@ -322,10 +322,6 @@ impl Activatable for HTMLAreaElement {
|
|||
self.as_element().has_attribute(&local_name!("href"))
|
||||
}
|
||||
|
||||
fn pre_click_activation(&self) {}
|
||||
|
||||
fn canceled_activation(&self) {}
|
||||
|
||||
fn activation_behavior(&self, _event: &Event, _target: &EventTarget) {
|
||||
follow_hyperlink(self.as_element(), None);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue