webapi.Element: use dot notation

Co-authored-by: Karl Seguin <karlseguin@users.noreply.github.com>
This commit is contained in:
Adrià Arrufat
2026-03-14 20:29:54 +09:00
committed by GitHub
parent e2563e57f2
commit e362a9cbc3

View File

@@ -1148,7 +1148,7 @@ pub fn hasPointerEventsNoneCached(self: *Element, page: *Page, cache: ?*CssCache
const doc_sheets = page.document.getStyleSheets(page) catch null;
var current: ?*Element = self;
while (current) |el| {
const props = getCssProperties(el, page, doc_sheets, cache);
const props = el.getCssProperties(page, doc_sheets, cache);
if (props.pointer_events_none) return true;
current = el.parentElement();
}