Re: [csswg-drafts] [css-values-4] Clarify that function component values need to be followed by parentheses (#5728)

The CSS Working Group just discussed `[css-values-4] Clarify that function component values need to be followed by parentheses`, and agreed to the following:

* `RESOLVED: Add this to the Value Definition Grammar`

<details><summary>The full IRC log of that discussion</summary>
&lt;fantasai> Topic: [css-values-4] Clarify that function component values need to be followed by parentheses<br>
&lt;fantasai> github: https://github.com/w3c/csswg-drafts/issues/5728<br>
&lt;emilio> fantasai: So tab added bikeshed functionality in which he can link to a function definition using `&lt;ident()>`<br>
&lt;emilio> fantasai: but this is not actually valid according to our value definition grammar<br>
&lt;fantasai> &lt;'property-name'><br>
&lt;fantasai> &lt;keyword><br>
&lt;emilio> ... that has quoted property references and terminal kws (^)<br>
&lt;emilio> ... so should we add this to the value-definition grammar and update all specs to use this convention?<br>
&lt;emilio> ... a subtle thing is that only terminals that represent a function will use this<br>
&lt;emilio> ... historically we haven't done this, e.g., `&lt;url>`<br>
&lt;emilio> ... so the question is do we want to extend our syntax in this way<br>
&lt;fantasai> chris_: I would find this useful, have needed &lt;foo> vs &lt;foo()><br>
&lt;fantasai> astearns: So proposal is to add &lt;name()> to our grammar<br>
&lt;fantasai> s/grammar/grammar for specs/<br>
&lt;fantasai> astearns: Will that require going back and fixing everything?<br>
&lt;fantasai> fantasai: I think it would be useful to make things consistent<br>
&lt;fantasai> fantasai: but I wouldn't do it for &lt;url><br>
&lt;fantasai> astearns: If not required, it's better; would prefer not to mess with old things<br>
&lt;fantasai> astearns: Any other opinions?<br>
&lt;fantasai> RESOLVED: Add this to the Value Definition Grammar<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5728#issuecomment-971802978 using your GitHub account


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

Received on Wednesday, 17 November 2021 17:34:07 UTC