css: add log filter to CSSStyleSheet test

This commit is contained in:
Adrià Arrufat
2026-03-12 22:15:14 +09:00
parent b2b609a309
commit d918ec694b
2 changed files with 3 additions and 0 deletions

View File

@@ -1081,6 +1081,7 @@ pub fn checkVisibility(self: *Element, page: *Page) bool {
current = el.parentElement(); current = el.parentElement();
} }
return true; return true;
} }

View File

@@ -124,5 +124,7 @@ pub const JsApi = struct {
const testing = @import("../../../testing.zig"); const testing = @import("../../../testing.zig");
test "WebApi: CSSStyleSheet" { test "WebApi: CSSStyleSheet" {
const filter: testing.LogFilter = .init(.js);
defer filter.deinit();
try testing.htmlRunner("css/stylesheet.html", .{}); try testing.htmlRunner("css/stylesheet.html", .{});
} }