Re: [csswg-drafts] [css-values][css-images] Allow trailing comma in gradient functions (and probably others) (#4968)

We also support it where the number of accepted arguments is clear:

```scss
// example function accepts a single argument
@function example(
  $arg
) {
  @return $arg;
}

.test {
  error: example(a, b); // two arguments -> error
  valid: example(a,); // one with trailing comma -> `a`
}
```

-- 
GitHub Notification of comment by mirisuzanne
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4968#issuecomment-617922401 using your GitHub account

Received on Wednesday, 22 April 2020 17:31:37 UTC