| Summary: | [CSS Highlight API] Fix serialization for CSS highlight pseudo-elements | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Tim Nguyen (:ntim) <ntim> |
| Component: | CSS | Assignee: | 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 | ||
|
Description
Tim Nguyen (:ntim)
2023-11-02 11:29:14 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 Pull request: https://github.com/WebKit/WebKit/pull/19900 Committed 270146@main (b63317aba187): <https://commits.webkit.org/270146@main> Reviewed commits have been landed. Closing PR #19900 and removing active labels. |