Bug 240581

Summary: [:has() pseudo-class] Invalidation fails if the mutated elements subtree has been marked invalid
Product: WebKit Reporter: Antti Koivisto <koivisto>
Component: CSSAssignee: Antti Koivisto <koivisto>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, cmarcelo, esprehn+autocc, ews-watchlist, kangil.han, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 227702    
Attachments:
Description Flags
Patch
none
Patch none

Description Antti Koivisto 2022-05-18 08:57:07 PDT
:has() can affect elements outside the subtree so we can't use this optimization if present.
Comment 1 Antti Koivisto 2022-05-18 09:03:24 PDT
Created attachment 459543 [details]
Patch
Comment 2 Antti Koivisto 2022-05-18 09:07:17 PDT
Created attachment 459544 [details]
Patch
Comment 3 EWS 2022-05-18 12:21:26 PDT
Committed r294423 (250706@main): <https://commits.webkit.org/250706@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 459544 [details].
Comment 4 Radar WebKit Bug Importer 2022-05-18 12:22:13 PDT
<rdar://problem/93519537>