mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 23:23:28 +00:00
dom: fix document creation process
This commit is contained in:
@@ -53,7 +53,7 @@ pub const Document = struct {
|
||||
if (userctx.document) |cur| {
|
||||
title = try parser.documentHTMLGetTitle(cur);
|
||||
}
|
||||
const doc = try parser.domImplementationCreateHTMLDocument(title);
|
||||
const doc = try parser.documentCreateDocument(title);
|
||||
|
||||
if (userctx.document) |cur| {
|
||||
// we have to work w/ document instead of html document.
|
||||
|
||||
Reference in New Issue
Block a user