mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
ChildrenOnly -> ChildrenOnly(Option<QualName>)
use this updated type from html5ever
This commit is contained in:
parent
a468d05fff
commit
6c0f87a1d6
14 changed files with 38 additions and 56 deletions
|
@ -2050,7 +2050,10 @@ impl ElementMethods for Element {
|
|||
/// https://w3c.github.io/DOM-Parsing/#widl-Element-innerHTML
|
||||
fn GetInnerHTML(&self) -> Fallible<DOMString> {
|
||||
// XXX TODO: XML case
|
||||
self.serialize(ChildrenOnly)
|
||||
let qname = QualName::new(self.prefix().clone(),
|
||||
self.namespace().clone(),
|
||||
self.local_name().clone());
|
||||
self.serialize(ChildrenOnly(Some(qname)))
|
||||
}
|
||||
|
||||
/// https://w3c.github.io/DOM-Parsing/#widl-Element-innerHTML
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue