Bug 265611 - ::backdrop is tree-abiding and should be allowed after ::slotted()
Summary: ::backdrop is tree-abiding and should be allowed after ::slotted()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar, WPTImpact
Depends on:
Blocks:
 
Reported: 2023-11-30 14:59 PST by Ahmad Saleem
Modified: 2023-11-30 19:01 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ahmad Saleem 2023-11-30 14:59:23 PST
Hi Team,

Came across quick win from WPT failing test cases in Safari with just one line fix by merging 'Blink' patch.

WPT Test Case Live Link: http://wpt.live/css/css-position/backdrop-tree-abiding-slotted.html

Web-Spec: https://drafts.csswg.org/css-position-4/#backdrop

Blink Commit: https://chromium-review.googlesource.com/c/chromium/src/+/4778566

WebKit Source: https://searchfox.org/wubkat/rev/1531d41a4ef64103835343c7ca448db7defee9de/Source/WebCore/css/parser/CSSSelectorParser.cpp#488

Just doing this fix the bug:

case CSSSelector::PseudoElementSlotted:

Wanted to raise to fix it.

Thanks!
Comment 1 Ahmad Saleem 2023-11-30 15:00:51 PST
I meant - case CSSSelector::PseudoElementBackdrop:
Comment 2 EWS 2023-11-30 19:00:17 PST
Committed 271366@main (01864fd8625f): <https://commits.webkit.org/271366@main>

Reviewed commits have been landed. Closing PR #21127 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-11-30 19:01:14 PST
<rdar://problem/119015204>