Bug 267626

Summary: invalidateNodeListAndCollectionCachesInAncestorsForAttribute shouldn't call invalidateQuerySelectorAllResults in most cases
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: DOMAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   

Ryosuke Niwa
Reported 2024-01-17 00:37:57 PST
We only need to invalidate querySelector results when we're mutating class name since we only store results if query selectors were matching against tag name or class name.
Attachments
Ryosuke Niwa
Comment 1 2024-01-17 00:44:10 PST
EWS
Comment 2 2024-01-18 09:53:32 PST
Committed 273183@main (ffffbfafc4cd): <https://commits.webkit.org/273183@main> Reviewed commits have been landed. Closing PR #22856 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2024-01-18 09:54:16 PST
Note You need to log in before you can comment on or make changes to this bug.