Call after_remove_attr before removing the attribute, and rename it before_remove_attr.

This commit is contained in:
Ms2ger 2014-02-25 17:18:47 +01:00
parent fdd17b4139
commit 432e9cb3a7
3 changed files with 12 additions and 12 deletions

View file

@ -140,7 +140,7 @@ impl HTMLIFrameElement {
}
}
pub fn AfterRemoveAttr(&mut self, name: DOMString) {
pub fn BeforeRemoveAttr(&mut self, name: DOMString) {
if "sandbox" == name {
self.sandbox = None;
}