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

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

From: Alan Stearns via GitHub <sysbot+gh@w3.org>
Date: Sun, 16 Dec 2018 02:45:58 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-447613329-1544928357-sysbot+gh@w3.org>
@TalbotG by my reading the statement is in 9.1.4: 

> 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.

GitHub Notification of comment by astearns
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3444#issuecomment-447613329 using your GitHub account
Received on Sunday, 16 December 2018 02:46:00 UTC

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