Re: [csswg-drafts] [css-values] All browsers handle calc() in <integer> incorrectly

AFAIK, browsers currently treat the result of division in `calc()` as `number` (even when the result has no fractional part), according to [the previous level](https://drafts.csswg.org/css-values-3/#calc-type-checking) of the spec, so it is not accepted where `<integer>` is expected. I suppose the change request should be made for them to switch to the Level 4 behavior. It appears that [Chrome](https://bugs.chromium.org/p/chromium/issues/detail?id=874332) and [Mozilla](https://bugzilla.mozilla.org/show_bug.cgi?id=1440251) already have such bugs filed.

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

Received on Sunday, 16 September 2018 00:55:55 UTC