Bug 264104

Summary: [CSS Highlight API] Fix serialization for CSS highlight pseudo-elements
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: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Comment 1 Radar WebKit Bug Importer 2023-11-02 11:29:23 PDT
<rdar://problem/117864974>
Comment 2 Tim Nguyen (:ntim) 2023-11-02 11:33:57 PDT
Highlight pseudos need a special case here similar to ::part(): https://searchfox.org/wubkat/rev/67be1e0883407c894c71a4c903e5030059a7b5e9/Source/WebCore/css/CSSSelector.cpp#738-749

This way ::highlight(foo) serializes as such instead of serializing to ::highlight
Comment 3 Tim Nguyen (:ntim) 2023-11-02 11:50:33 PDT
Pull request: https://github.com/WebKit/WebKit/pull/19900
Comment 4 EWS 2023-11-02 15:20:01 PDT
Committed 270146@main (b63317aba187): <https://commits.webkit.org/270146@main>

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