mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Call after_remove_attr before removing the attribute, and rename it before_remove_attr.
This commit is contained in:
parent
fdd17b4139
commit
432e9cb3a7
3 changed files with 12 additions and 12 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue