Bug 264103
Summary: | getComputedStyle() should work with functional pseudo-elements like ::highlight() | ||
---|---|---|---|
Product: | WebKit | Reporter: | Tim Nguyen (:ntim) <ntim> |
Component: | CSS | Assignee: | Anne van Kesteren <annevk> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | annevk, commit-queue, karlcow, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=243539 | ||
Bug Depends on: | 269743 | ||
Bug Blocks: |
Tim Nguyen (:ntim)
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
<rdar://problem/117864743>
Anne van Kesteren
The parser side of this we want to do in CSSSelector::parseStandalonePseudoElement these days.
Anne van Kesteren
Pull request: https://github.com/WebKit/WebKit/pull/24510
EWS
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
Re-opened since this is blocked by bug 269743
Anne van Kesteren
Pull request: https://github.com/WebKit/WebKit/pull/24824
EWS
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
*** Bug 269416 has been marked as a duplicate of this bug. ***