mirror of
https://github.com/servo/servo.git
synced 2025-06-09 09:03:23 +00:00
Remove HTMLAnchorElement::handle_event.
It is equivalent to the default implementation.
This commit is contained in:
parent
eb5fbb6ea2
commit
2e89228cd5
1 changed files with 0 additions and 9 deletions
|
@ -69,15 +69,6 @@ impl<'a> VirtualMethods for &'a HTMLAnchorElement {
|
|||
Some(htmlelement as &VirtualMethods)
|
||||
}
|
||||
|
||||
fn handle_event(&self, event: &Event) {
|
||||
match self.super_type() {
|
||||
Some(s) => {
|
||||
s.handle_event(event);
|
||||
}
|
||||
None => {}
|
||||
}
|
||||
}
|
||||
|
||||
fn parse_plain_attribute(&self, name: &Atom, value: DOMString) -> AttrValue {
|
||||
match name {
|
||||
&atom!("rel") => AttrValue::from_serialized_tokenlist(value),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue