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

The OP's bug is invalid; the grammar in <https://drafts.csswg.org/css-values/#calc-syntax> definitely allows numeric expressions in the denominator, and the type-checking in <https://drafts.csswg.org/css-values/#calc-type-checking> is referring to "resolved types". Expressions like `(1 + 1)` have a "resolved type" of `<number>`.

François's issue is also invalid - a `calc()` will always resolve to either a `<number>`, `<percentage>`, or `<dimension>`, so nested calc()s are definitely allowed per the grammar.

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

Received on Wednesday, 19 April 2017 02:58:06 UTC