Bug 306860

Summary: Speculation Rules don't trigger for non-visible anchors with visible descendants
Product: WebKit Reporter: Yoav Weiss <yoav>
Component: New BugsAssignee: Yoav Weiss <yoav>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Yoav Weiss
Reported 2026-02-03 05:42:49 PST
https://theme-horizon-demo.myshopify.com/ includes speculation rules, but they don't seem to trigger prefetches. Digging into that, it seems like the custom elements used as anchors have visible descendants, but are not visible themselves. This results in prefetches not working for them.
Attachments
Yoav Weiss
Comment 1 2026-02-03 05:49:40 PST
EWS
Comment 2 2026-02-03 13:35:17 PST
Committed 306730@main (c685d23096c9): <https://commits.webkit.org/306730@main> Reviewed commits have been landed. Closing PR #57776 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2026-02-03 13:36:13 PST
Note You need to log in before you can comment on or make changes to this bug.