webapi): reorder css function params and merge pointer events

This commit is contained in:
Adrià Arrufat
2026-03-14 20:26:51 +09:00
parent 55a9976d46
commit 3fde349b9f
3 changed files with 8 additions and 12 deletions

View File

@@ -94,7 +94,7 @@ fn walk(self: @This(), node: *Node, xpath_buffer: *std.ArrayList(u8), parent_nam
if (tag == .datalist or tag == .option or tag == .optgroup) return;
// Check visibility using the engine's checkVisibility which handles CSS display: none
if (!el.checkVisibilityCached(self.page, css_cache)) {
if (!el.checkVisibilityCached(css_cache, self.page)) {
return;
}