diff options
author | Peter <ptrgonda@gmail.com> | 2015-04-09 15:59:57 -0400 |
---|---|---|
committer | Peter <ptrgonda@gmail.com> | 2015-05-20 10:34:16 -0400 |
commit | 1c96eed54410b45e0d0401941d4d156c5c8c9c78 (patch) | |
tree | 77664af955ec2d03684eb172face26852529c359 /components/script/dom/virtualmethods.rs | |
parent | f554ab1c4d0253e168247e5b3846d5461e0ede99 (diff) | |
download | servo-1c96eed54410b45e0d0401941d4d156c5c8c9c78.tar.gz servo-1c96eed54410b45e0d0401941d4d156c5c8c9c78.zip |
fixes #5603, adds support for tabindex
Diffstat (limited to 'components/script/dom/virtualmethods.rs')
-rw-r--r-- | components/script/dom/virtualmethods.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/components/script/dom/virtualmethods.rs b/components/script/dom/virtualmethods.rs index 2147ee07c48..e871fdd1894 100644 --- a/components/script/dom/virtualmethods.rs +++ b/components/script/dom/virtualmethods.rs @@ -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 { |