RESOLVED DUPLICATE of bug 241847 254682
[css-conditional] Some pseudo-elements should be known in @supports selector()
https://bugs.webkit.org/show_bug.cgi?id=254682
Summary [css-conditional] Some pseudo-elements should be known in @supports selector()
Tim Nguyen (:ntim)
Reported 2023-03-29 12:52:12 PDT
See LayoutTests/imported/w3c/web-platform-tests/css/css-conditional/at-supports-047.html We fail to parse `@supports selector(input::placeholder)` http://wpt.live/css/css-conditional/at-supports-047.html
Attachments
Tim Nguyen (:ntim)
Comment 1 2023-03-29 13:20:23 PDT
So we reject ::placeholder/::file-selector-button (which do fall under CSSSelector::PseudoElementWebKitCustom) in: https://searchfox.org/wubkat/rev/4c1d077ec985eb840a20e5ffb65eb2b73fb89d31/Source/WebCore/css/parser/CSSSelectorParser.cpp#182 We probably shouldn't do this. Joonghun, do you have some context around this? Do we want to reject PseudoElementWebKitCustomLegacyPrefixed instead? or simply stop rejecting anything that's parsable?
Tim Nguyen (:ntim)
Comment 2 2023-03-29 19:31:46 PDT
*** This bug has been marked as a duplicate of bug 241847 ***
Joonghun Park
Comment 3 2023-03-29 19:42:00 PDT
(In reply to Tim Nguyen (:ntim) from comment #1) > So we reject ::placeholder/::file-selector-button (which do fall under > CSSSelector::PseudoElementWebKitCustom) in: > > https://searchfox.org/wubkat/rev/4c1d077ec985eb840a20e5ffb65eb2b73fb89d31/ > Source/WebCore/css/parser/CSSSelectorParser.cpp#182 > > We probably shouldn't do this. Joonghun, do you have some context around > this? > > Do we want to reject PseudoElementWebKitCustomLegacyPrefixed instead? or > simply stop rejecting anything that's parsable? It seems that I need to look into the related codes in detail to recall. I will check on it.
Note You need to log in before you can comment on or make changes to this bug.