W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2018

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

From: Gérard Talbot via GitHub <sysbot+gh@w3.org>
Date: Sun, 16 Dec 2018 01:25:05 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-391426203-1544923503-sysbot+gh@w3.org>
TalbotG has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-values-4] Round to integer only at end of computation or conversion ==
In this
[calc-integer.html](http://w3c-test.org/css/css-values/calc-integer.html)
test from @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>](https://www.w3.org/TR/css-values-4/#combine-integers)

[9.1. Mathematical Expressions: calc(), min(), max(), and clamp()](https://www.w3.org/TR/css-values-4/#calc-notation)

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3444 using your GitHub account
Received on Sunday, 16 December 2018 01:25:06 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:41 UTC