Re: [csswg-drafts] [css-values] Add round()/floor()/ceil() functions (#2513)

> mod() is not always positive, it's always the sign of the second argument.

That's not what JS does, at least not as it is implemented in browsers. `8%-3` gives me +2 in my Chrome and Firefox consoles.

> heycam: […] it's confusing to have an unit called rem, and a function called rem 

I agree with this concern, but I can't think of a better proposal other than writing out `remainder()` in full.

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

Received on Friday, 24 January 2020 16:38:33 UTC