From e33e42e86b807c440b1d6a9432a124c0c89f1dfd Mon Sep 17 00:00:00 2001 From: Patrick Brosset Date: Thu, 20 Mar 2025 17:16:28 +0100 Subject: [PATCH 1/3] New css @function feature --- features/function.yml | 5 +++++ features/function.yml.dist | 6 ++++++ 2 files changed, 11 insertions(+) create mode 100644 features/function.yml create mode 100644 features/function.yml.dist diff --git a/features/function.yml b/features/function.yml new file mode 100644 index 00000000000..5d175378cc1 --- /dev/null +++ b/features/function.yml @@ -0,0 +1,5 @@ +name: "@function" +description: "The `@function` at-rule takes arguments, such as CSS values or custom properties, and returns a CSS value, possibly based on conditional logic such as by using the `@media` at-rule." +spec: https://drafts.csswg.org/css-mixins-1/#function-rule +group: css +# No compat keys yet, this feature is planned to ship with Chromium 139 \ No newline at end of file diff --git a/features/function.yml.dist b/features/function.yml.dist new file mode 100644 index 00000000000..c09639bbe4f --- /dev/null +++ b/features/function.yml.dist @@ -0,0 +1,6 @@ +# Generated from: function.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: {} From 43ca265c651093d1ef37c11e4346e2901607eebd Mon Sep 17 00:00:00 2001 From: Patrick Brosset Date: Thu, 20 Mar 2025 17:22:39 +0100 Subject: [PATCH 2/3] Run prettier --- features/function.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/function.yml b/features/function.yml index 5d175378cc1..05ce7000ec0 100644 --- a/features/function.yml +++ b/features/function.yml @@ -2,4 +2,4 @@ name: "@function" description: "The `@function` at-rule takes arguments, such as CSS values or custom properties, and returns a CSS value, possibly based on conditional logic such as by using the `@media` at-rule." spec: https://drafts.csswg.org/css-mixins-1/#function-rule group: css -# No compat keys yet, this feature is planned to ship with Chromium 139 \ No newline at end of file +# No compat keys yet, this feature is planned to ship with Chromium 139 From 7e46cf2f42651604cedf82c129e5d1d6a634caad Mon Sep 17 00:00:00 2001 From: Patrick Brosset Date: Tue, 25 Mar 2025 16:00:17 +0100 Subject: [PATCH 3/3] Update features/function.yml Co-authored-by: James Stuckey Weber --- features/function.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/function.yml b/features/function.yml index 05ce7000ec0..44502217bd4 100644 --- a/features/function.yml +++ b/features/function.yml @@ -1,5 +1,5 @@ name: "@function" -description: "The `@function` at-rule takes arguments, such as CSS values or custom properties, and returns a CSS value, possibly based on conditional logic such as by using the `@media` at-rule." +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." spec: https://drafts.csswg.org/css-mixins-1/#function-rule group: css # No compat keys yet, this feature is planned to ship with Chromium 139