W3C home > Mailing lists > Public > public-css-archive@w3.org > April 2017

Re: [csswg-drafts] [css-values] calc()'s divisions should support more things

From: François REMY via GitHub <sysbot+gh@w3.org>
Date: Wed, 19 Apr 2017 03:05:45 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-295053084-1492571143-sysbot+gh@w3.org>
Here is what I see in the spec now:

```
The syntax of a calc() function is:
<calc()> = calc( <calc-sum> )
<calc-sum> = <calc-product> [ [ '+' | '-' ] <calc-product> ]*
<calc-product> = <calc-value> [ '*' <calc-value> | '/' <calc-number-value> ]*
<calc-value> = <number> | <dimension> | <percentage> | ( <calc-sum> )
<calc-number-sum> = <calc-number-product> [ [ '+' | '-' ] <calc-number-product> ]*
<calc-number-product> = <calc-number-value> [ '*' <calc-number-value> | '/' <calc-number-value> *
<calc-number-value> = <number> | ( <calc-number-sum> )
```

which is what my pull request was adding. I am fairly confused I must say.


-- 
GitHub Notification of comment by FremyCompany
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1241#issuecomment-295053084 using your GitHub account
Received on Wednesday, 19 April 2017 03:05:51 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:11 UTC