WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
264103
getComputedStyle() should work with functional pseudo-elements like ::highlight()
https://bugs.webkit.org/show_bug.cgi?id=264103
Summary
getComputedStyle() should work with functional pseudo-elements like ::highlig...
Tim Nguyen (:ntim)
Reported
2023-11-02 11:26:23 PDT
Spec:
https://www.w3.org/TR/css-pseudo-4/#getComputedStyle
WPT:
https://wpt.fyi/results/css/css-highlight-api?label=master&label=experimental&aligned&q=computed
Implementation notes: Anywhere we take a PseudoId from CSSComputedStyleDeclaration to ComputedStyleExtractor to Element::computedStyle(), etc. we should pass a PseudoElementRequest instead of a PseudoId CSSComputedStyleDeclaration would also need to convert from a String to a PseudoElementRequest instead of PseudoId
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-11-02 11:26:38 PDT
<
rdar://problem/117864743
>
Anne van Kesteren
Comment 2
2024-01-02 01:45:38 PST
The parser side of this we want to do in CSSSelector::parseStandalonePseudoElement these days.
Anne van Kesteren
Comment 3
2024-02-15 06:17:20 PST
Pull request:
https://github.com/WebKit/WebKit/pull/24510
EWS
Comment 4
2024-02-16 10:00:33 PST
Committed
274846@main
(2a9c86135d14): <
https://commits.webkit.org/274846@main
> Reviewed commits have been landed. Closing PR #24510 and removing active labels.
WebKit Commit Bot
Comment 5
2024-02-19 13:06:09 PST
Re-opened since this is blocked by
bug 269743
Anne van Kesteren
Comment 6
2024-02-20 10:24:56 PST
Pull request:
https://github.com/WebKit/WebKit/pull/24824
EWS
Comment 7
2024-02-20 13:52:34 PST
Committed
275068@main
(494280aef6da): <
https://commits.webkit.org/275068@main
> Reviewed commits have been landed. Closing PR #24824 and removing active labels.
Anne van Kesteren
Comment 8
2024-02-26 06:01:06 PST
***
Bug 269416
has been marked as a duplicate of this bug. ***
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