mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Store a pointer to the browsing context in the Document.
This commit is contained in:
parent
0b27807ad4
commit
152cec69eb
10 changed files with 53 additions and 23 deletions
|
@ -275,7 +275,7 @@ pub fn parse_html_fragment(context_node: &Node,
|
|||
|
||||
// Step 1.
|
||||
let loader = DocumentLoader::new(&*context_document.loader());
|
||||
let document = Document::new(window.r(), Some(url.clone()),
|
||||
let document = Document::new(window.r(), None, Some(url.clone()),
|
||||
IsHTMLDocument::HTMLDocument,
|
||||
None, None,
|
||||
DocumentSource::FromParser,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue