fixes #5603, adds support for tabindex

This commit is contained in:
Peter 2015-04-09 15:59:57 -04:00
parent f554ab1c4d
commit 1c96eed544
6 changed files with 80 additions and 16 deletions

View file

@ -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 {