Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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
5 changes: 5 additions & 0 deletions features/supports-named-feature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
name: named-feature()
description: "The `named-feature()` function, when used with `@supports`, checks if a CSS behavior. For example, `@supports named-feature(anchor-position-follows-transforms)` checks whether anchor-positioning applies after transforms."

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Missing the end of the first sentence

Suggested change
description: "The `named-feature()` function, when used with `@supports`, checks if a CSS behavior. For example, `@supports named-feature(anchor-position-follows-transforms)` checks whether anchor-positioning applies after transforms."
description: "The `named-feature()` function, when used with `@supports`, checks if a CSS behavior is supported. For example, `@supports named-feature(anchor-position-follows-transforms)` checks whether anchor-positioning applies after transforms."

I also wonder if "CSS behavior" might be a bit too non-descript. It could be helpful to mention where the list of valid values come from.

Suggested change
description: "The `named-feature()` function, when used with `@supports`, checks if a CSS behavior. For example, `@supports named-feature(anchor-position-follows-transforms)` checks whether anchor-positioning applies after transforms."
description: "The `named-feature()` function, when used with `@supports`, checks if a browser supports a specific CSS feature or behavioral update from a predefined list defined in the specification. For example, `@supports named-feature(anchor-position-follows-transforms)` checks whether anchor-positioning applies after transforms."

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
description: "The `named-feature()` function, when used with `@supports`, checks if a CSS behavior. For example, `@supports named-feature(anchor-position-follows-transforms)` checks whether anchor-positioning applies after transforms."
description: "The `named-feature()` function, when used with `@supports`, checks if a CSS behavior is supported. For example, `@supports named-feature(anchor-position-follows-transforms)` checks whether anchor-positioning applies after transforms."

spec: https://drafts.csswg.org/css-conditional-5/#typedef-supports-named-feature-fn
Comment thread
ddbeck marked this conversation as resolved.
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