mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Do not root HTMLScriptElement::parser_document
This commit is contained in:
parent
e8f358d178
commit
dee3aecea1
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ impl HTMLScriptElement {
|
|||
// Step 10.
|
||||
let document_from_node_ref = document_from_node(self);
|
||||
let document_from_node_ref = document_from_node_ref.r();
|
||||
if self.parser_inserted.get() && self.parser_document.root().r() != document_from_node_ref {
|
||||
if self.parser_inserted.get() && &*self.parser_document != document_from_node_ref {
|
||||
return NextParserState::Continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue