mirror of
https://github.com/servo/servo.git
synced 2025-10-08 04:29:24 +01:00
Implement Element.removeAttribute()/removeAttributeNS().
This commit is contained in:
parent
31e2f22d20
commit
7a9ecffaa0
5 changed files with 108 additions and 5 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue