[csswg-drafts] [mediaqueries][css-conditional] Allow empty functions in <general-enclosed> (#6803)

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

== [mediaqueries][css-conditional] Allow empty functions in <general-enclosed> ==
@andruud wrote in https://github.com/w3c/csswg-drafts/pull/6312#issuecomment-856699290
> The reason Chromium appears to evaluate `not fn()` to false in the [demo](url) is because `not fn()` is actually invalid grammar. (`<any-value>`, requires **one or more** tokens).

Since this is about forwards-compatible parsing and evaluation, it seems to me it would make more sense if `<any-value>` were optional so that empty functional notations would be syntactically valid.

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


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

Received on Monday, 8 November 2021 19:27:58 UTC