Re: [csswg-drafts] [css-fonts] font-weight: bolder and lighter are counter-intuitive (#2764)

`calc()` is *too* generic, though, unless `inherited`, `inherit`, `parent` or something like that would be added as a *local* math constant (as suggested in the OP), similar to the new *global* math constants `pi` and `e` #4688. I think this recent development could solve the concerns initially raised by @upsuper.

Dedicated increment and decrement functions would avoid this new concept, but they would be limited to addition and subtraction, respectively, when you sometimes want multiplication or division (e g. in font size steps). In conclusion, they would probably be an inferior solution.

If a generic function is preferred, we should *rename* this issue (or create a new one).

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

Received on Thursday, 30 January 2020 07:47:06 UTC