content
content copied to clipboard
Omitting roundingInterval
Description
Improved the description of the roundingInterval argument of the CSS round function. I explained what happens when you omit the value.
Motivation
In the syntax definition the argument is optional so I was wondering what would happen. Had to look at the spec to find out.
Additional details
Source (from the spec):
If the type of A matches
, then B may be omitted, and defaults to 1; omitting B is otherwise invalid.
https://drafts.csswg.org/css-values/#round-func