Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions features/supports-named-feature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: named-feature()
description: >
The `named-feature()` function, when used with `@supports`, checks if a named CSS behavior is supported.
The CSS behavior names are defined by specification.
For example, `@supports named-feature(anchor-position-follows-transforms)` checks whether anchor-positioning applies after transforms."
Comment on lines +3 to +5

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rviscomi @captainbrosset Apparently one has to save a file before committing. 😅

I took both of your suggestions and tried my best to synthesize one. Want to take another look?

spec: https://drafts.csswg.org/css-conditional-5/#typedef-supports-named-feature-fn
Comment thread
ddbeck marked this conversation as resolved.
group:
- css
compat_features:
- css.at-rules.supports.named-feature
11 changes: 11 additions & 0 deletions features/supports-named-feature.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Generated from: supports-named-feature.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: false
support:
chrome: "150"
chrome_android: "150"
edge: "150"
compat_features:
- css.at-rules.supports.named-feature