fix the wpt build

This commit is contained in:
Karl Seguin committed 2026-08-27 15:23:45 +08:00
1 parent a7bda0ea57
commit 1b59bc8d3b
1 file changed
+1 -2
+1 -2
View File
@@ -28,7 +28,6 @@ const Viewport = @import("Viewport.zig");
const Blob = @import("webapi/Blob.zig");
const Element = @import("webapi/Element.zig");
const WebDriver = @import("webapi/WebDriver.zig");
const SharedWorkerGlobalScope = @import("webapi/SharedWorkerGlobalScope.zig");
const Allocator = std.mem.Allocator;
@@ -113,7 +112,7 @@ queued_queued_navigation: std.ArrayList(*Frame) = .empty,
// The root Frame of this Page. Non-optional — a Page always has a root frame.
frame: Frame,
input_modifiers: if (lp.build_config.wpt_extensions) WebDriver.Modifiers else struct {} = .{},
input_modifiers: if (lp.build_config.wpt_extensions) @import("frame/user_input.zig").Modifiers else struct {} = .{},
// The element the synthetic pointer is currently over
input_hover_target: ?*Element = null,