[csswg-drafts] [css-values] Resolution of math functions

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

== [css-values] Resolution of math functions ==
>From https://drafts.csswg.org/css-values-4/#calc-notation,

> A math function can be used wherever `<length>`, `<frequency>`, `<angle>`, `<time>`, `<percentage>`, `<number>`, or `<integer>` values are allowed.

>From https://drafts.csswg.org/css-values-4/#calc-type-checking,

> A math function has a resolved type, which is one of `<length>`, `<frequency>`, `<angle>`, `<time>`, `<percentage>`, `<number>`, or `<integer>`.

>From https://drafts.csswg.org/css-values-4/#type-checking-exprs,

> A math function resolves to `<length>`, `<angle>`, `<time>`, `<frequency>`, `<resolution>`, `<flex>`, or `<percentage>` according to which of those productions its type matches.

Why are `<number>` and `<integer>` in #<!---->1 and #<!---->2 but not in #<!---->3?

Why are `<resolution>` and `<flex>` in #<!---->3 but not in #<!---->1 nor #<!---->2?

Is it necessary to repeat this list three times?

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

Received on Wednesday, 9 May 2018 17:11:42 UTC