WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
264104
[CSS Highlight API] Fix serialization for CSS highlight pseudo-elements
https://bugs.webkit.org/show_bug.cgi?id=264104
Summary
[CSS Highlight API] Fix serialization for CSS highlight pseudo-elements
Tim Nguyen (:ntim)
Reported
2023-11-02 11:29:14 PDT
https://wpt.fyi/results/css/css-highlight-api/highlight-pseudo-parsing.html?label=experimental&label=master&aligned
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-11-02 11:29:23 PDT
<
rdar://problem/117864974
>
Tim Nguyen (:ntim)
Comment 2
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
Tim Nguyen (:ntim)
Comment 3
2023-11-02 11:50:33 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/19900
EWS
Comment 4
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.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug