mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
fixes #5603, adds support for tabindex
This commit is contained in:
parent
f554ab1c4d
commit
1c96eed544
6 changed files with 80 additions and 16 deletions
|
@ -88,6 +88,14 @@ pub trait VirtualMethods {
|
|||
}
|
||||
}
|
||||
|
||||
/// Called when changing or removing attributes, after all modification
|
||||
/// has taken place.
|
||||
fn after_remove_attr(&self, name: &Atom) {
|
||||
if let Some(ref s) = self.super_type() {
|
||||
s.after_remove_attr(name);
|
||||
}
|
||||
}
|
||||
|
||||
/// Returns the right AttrValue variant for the attribute with name `name`
|
||||
/// on this element.
|
||||
fn parse_plain_attribute(&self, name: &Atom, value: DOMString) -> AttrValue {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue