[csswg-drafts] [css-values-5] Trailing comma in `attr()` (#8387)

cdoublev has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-values-5] Trailing comma in `attr()` ==
Does a trailing comma in [`attr()`](https://drafts.csswg.org/css-values-5/#attr-notation) can be omitted like in [`var()`](https://drafts.csswg.org/css-variables-2/#using-variables)?

  > `attr() = attr( <q-name> <attr-type>? , <declaration-value>?)`

  > `var() = var( <custom-property-name> , <declaration-value>? )`
  > 
  > In an exception to the usual comma elision rules, which require commas to be omitted when they’re not separating values, a bare comma, with nothing following it, must be treated as valid in `var()`, indicating an empty fallback value.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8387 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 1 February 2023 15:06:06 UTC