- From: Guillaume via GitHub <sysbot+gh@w3.org>
- Date: Wed, 12 Mar 2025 10:47:16 +0000
- To: public-css-archive@w3.org
cdoublev has just created a new issue for https://github.com/w3c/csswg-drafts:
== [css-mixins-1] Missing validation of default parameter value against their type ==
I guess `@function` should be invalid in this example?
```css
@function --custom(--param <integer>: 1.5) {}
```
**Suggestion:**
```diff
If the [=function parameters=]
contain the same <<custom-property-name>> more than once,
+ or if the <<declaration-value>> representing the default value of a function parameter
+ fails to be parsed against its syntax represented by <<css-type>>,
then the ''@function'' rule is invalid.
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11922 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 12 March 2025 10:47:16 UTC