Re: [csswg-drafts] css var & font-size bug

`var(--fontSize)*2` is expanded to `12px*2` in your example, which is invalid. As @Loirooriol mentioned, if you want to calculate, you need to wrap the formula inside `calc()`.

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

Received on Wednesday, 27 December 2017 12:04:29 UTC