Skip to content

[css-values-4] Round to integer only at end of computation or conversion #3444

Closed
@TalbotG

Description

@TalbotG

In this
calc-integer.html
test authored by @emilio , at lines 44-46, we have:

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.

5.1.1 Combination of <integer>

9.1 Mathematical Expressions: calc(), min(), max(), and clamp()

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions