Bug 265518

Summary: [CSS] Don't construct CSSSelectorList when not needed
Product: WebKit Reporter: Matthieu Dubet <m_dubet>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Matthieu Dubet 2023-11-29 06:54:44 PST
CSSSelectorList is an optimized data structure which takes some time to construct.

We should doing it too early or when it's unnecessary.
Comment 1 Radar WebKit Bug Importer 2023-11-29 06:54:58 PST
<rdar://problem/118931010>
Comment 2 Matthieu Dubet 2023-11-29 07:41:51 PST
Pull request: https://github.com/WebKit/WebKit/pull/21052
Comment 3 EWS 2023-11-29 11:02:55 PST
Committed 271290@main (3ff376ea3d2a): <https://commits.webkit.org/271290@main>

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