Skip to content

Commit a4f8d79

Browse files
authored
Add missing CSS function keys (#3388)
1 parent bd588c4 commit a4f8d79

File tree

4 files changed

+30
-41
lines changed

4 files changed

+30
-41
lines changed

features/draft/spec/css-mixins-1.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

features/draft/spec/css-mixins-1.yml.dist

Lines changed: 0 additions & 22 deletions
This file was deleted.

features/function.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,16 @@ name: "@function"
22
description: "The `@function` CSS at-rule defines a custom function that takes CSS values or custom properties as arguments, and returns a CSS value. It can be based on conditional logic such as by using the `@media` at-rule."
33
spec: https://drafts.csswg.org/css-mixins-1/#function-rule
44
group: css
5-
# No compat keys yet, this feature is planned to ship with Chromium 139
5+
compat_features:
6+
- api.CSSFunctionDeclarations
7+
- api.CSSFunctionDeclarations.style
8+
- api.CSSFunctionDescriptors
9+
- api.CSSFunctionDescriptors.result
10+
- api.CSSFunctionRule
11+
- api.CSSFunctionRule.getParameters
12+
- api.CSSFunctionRule.name
13+
- api.CSSFunctionRule.returnType
14+
- css.at-rules.function
15+
- css.at-rules.function.result
16+
- css.types.dashed-function
17+
- css.types.type

features/function.yml.dist

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,20 @@
33

44
status:
55
baseline: false
6-
support: {}
6+
support:
7+
chrome: "139"
8+
chrome_android: "139"
9+
edge: "139"
10+
compat_features:
11+
- api.CSSFunctionDeclarations
12+
- api.CSSFunctionDeclarations.style
13+
- api.CSSFunctionDescriptors
14+
- api.CSSFunctionDescriptors.result
15+
- api.CSSFunctionRule
16+
- api.CSSFunctionRule.getParameters
17+
- api.CSSFunctionRule.name
18+
- api.CSSFunctionRule.returnType
19+
- css.at-rules.function
20+
- css.at-rules.function.result
21+
- css.types.dashed-function
22+
- css.types.type

0 commit comments

Comments
 (0)