You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
specified: "calc(calc(1 / 3) * 3)",
computed: "1",
description: "Only rounds at the end of the conversion"
The statement "Only rounds at the end of the conversion" makes sense but I do not read a normative statement of this sort anywhere in the CSS4 Values specification.
if a math function that resolves to <number> is used somewhere that only accepts <integer>, the computed value and used value are rounded to the nearest integer
The value of the interior calc in that test is not in a place that only accepts <integer>, so no rounding happens.
It would probably be good to have an example for this.
Uh oh!
There was an error while loading. Please reload this page.
In this
calc-integer.html
test authored by @emilio , at lines 44-46, we have:
The statement "Only rounds at the end of the conversion" makes sense but I do not read a normative statement of this sort anywhere in the CSS4 Values specification.
5.1.1 Combination of <integer>
9.1 Mathematical Expressions: calc(), min(), max(), and clamp()
The text was updated successfully, but these errors were encountered: