mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Support arbitrary protos when wrapping DOM objects with constructors.
This commit is contained in:
parent
d9600ff50f
commit
dbff26bce0
197 changed files with 2028 additions and 586 deletions
|
@ -420,7 +420,7 @@ impl Tokenizer {
|
|||
self.insert_node(node, Dom::from_ref(element.upcast()));
|
||||
},
|
||||
ParseOperation::CreateComment { text, node } => {
|
||||
let comment = Comment::new(DOMString::from(text), document);
|
||||
let comment = Comment::new(DOMString::from(text), document, None);
|
||||
self.insert_node(node, Dom::from_ref(&comment.upcast()));
|
||||
},
|
||||
ParseOperation::AppendBeforeSibling { sibling, node } => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue