Implement Element.removeAttribute()/removeAttributeNS().

This commit is contained in:
Tetsuharu OHZEKI 2014-01-03 03:40:05 +09:00
parent 31e2f22d20
commit 7a9ecffaa0
5 changed files with 108 additions and 5 deletions

View file

@ -112,6 +112,12 @@ impl HTMLIFrameElement {
}
}
pub fn AfterRemoveAttr(&mut self, name: DOMString) {
if "sandbox" == name {
self.sandbox = None;
}
}
pub fn AllowFullscreen(&self) -> bool {
false
}