Bug 262836

Summary: [:has() pseudo-class] Support invalidation for :any-link, :link and :-webkit-any-link
Product: WebKit Reporter: Tim Nguyen (:ntim) <ntim>
Component: CSSAssignee: Tim Nguyen (:ntim) <ntim>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: GoodFirstBug, InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://github.com/web-platform-tests/wpt/pull/43622
Bug Depends on:    
Bug Blocks: 234556    

Description Tim Nguyen (:ntim) 2023-10-07 02:19:14 PDT
Element::setIsLink() should invoke PseudoClassChangeInvalidation like done here: https://searchfox.org/wubkat/rev/d38a7723c351370fbfdf9a1a618c86625a64a344/Source/WebCore/html/ValidatedFormListedElement.cpp#255-260
Comment 1 Radar WebKit Bug Importer 2023-10-07 02:19:23 PDT
<rdar://problem/116616425>
Comment 2 Tim Nguyen (:ntim) 2023-12-11 21:39:39 PST
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/43622
Comment 3 Tim Nguyen (:ntim) 2023-12-11 21:39:43 PST
Pull request: https://github.com/WebKit/WebKit/pull/21663
Comment 4 EWS 2023-12-12 01:17:39 PST
Committed 271919@main (1d40c072bffe): <https://commits.webkit.org/271919@main>

Reviewed commits have been landed. Closing PR #21663 and removing active labels.