mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 15:13:28 +00:00
lit compatibility
Aims to improve compatibility for the lit framework (e.g. what Reddit is using). 1 - Adds support for adoptedStyleSheets to the Document and ShadowRoot 2 - Adds mock support for replace and replaceSync to the CSSStyleSheet 3 - Optionally include shadowroot in dump 4 - Special-case setting innerHTML on a TemplateElement
This commit is contained in:
@@ -135,8 +135,9 @@ fn run(alloc: Allocator) !void {
|
||||
// dump
|
||||
if (opts.dump) {
|
||||
try page.dump(.{
|
||||
.exclude_scripts = opts.noscript,
|
||||
.page = page,
|
||||
.with_base = opts.withbase,
|
||||
.exclude_scripts = opts.noscript,
|
||||
}, std.io.getStdOut());
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user