Bug 204165 - Add support for selector() feature query
Summary: Add support for selector() feature query
Status: RESOLVED DUPLICATE of bug 199237
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari 13
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-11-13 10:53 PST by Miriam Suzanne
Modified: 2019-11-18 12:41 PST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miriam Suzanne 2019-11-13 10:53:41 PST
- `@supports selector( <complex-selector> )`
- From CSS Conditionals Module Level 4 (https://drafts.csswg.org/css-conditional-4/)

As browsers start to roll out selectors from level 4 – :focus-within, :focus-visible, :is, :where, ::marker, extended :not and :nth-child, etc – authors are excited to start using these new tools, but we don't have the @supports control to manage fallbacks. That problem is exacerbated by the new selectors landing *before* our ability to check for them. It's frustrating to have a feature-query that has less support than the feature being queried. The longer this feature is delayed, the less useful it becomes for a new round of selectors already appearing in browsers.

Firefox has already shipped, and chromium is planning to implement this month (https://bugs.chromium.org/p/chromium/issues/detail?id=979041#c8).
Comment 1 Radar WebKit Bug Importer 2019-11-16 15:46:07 PST
<rdar://problem/57257368>
Comment 2 Smoley 2019-11-18 12:41:39 PST

*** This bug has been marked as a duplicate of bug 199237 ***