diff --git a/features/supports-named-feature.yml b/features/supports-named-feature.yml new file mode 100644 index 00000000000..cf3ad07a193 --- /dev/null +++ b/features/supports-named-feature.yml @@ -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." +spec: https://drafts.csswg.org/css-conditional-5/#typedef-supports-named-feature-fn +group: + - css +compat_features: + - css.at-rules.supports.named-feature diff --git a/features/supports-named-feature.yml.dist b/features/supports-named-feature.yml.dist new file mode 100644 index 00000000000..b8b31387a30 --- /dev/null +++ b/features/supports-named-feature.yml.dist @@ -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