W3C home > Mailing lists > Public > www-style@w3.org > March 2013

Re: [css3-background] round(N+0.5) with background-repeat: round

From: Zack Weinberg <zackw@panix.com>
Date: Tue, 26 Mar 2013 13:41:42 -0400
Message-ID: <CAKCAbMhUv1iRpo_z223CkwoJRcEfuWbKsZssE-JBaug_b25VmQ@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: Simon Sapin <simon.sapin@exyr.org>, www-style list <www-style@w3.org>
On Tue, Mar 26, 2013 at 1:20 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
> On Tue, Mar 26, 2013 at 7:39 AM, Simon Sapin <simon.sapin@exyr.org> wrote:
>>
>> What should round() do when two natural numbers are equally near? For
>> example, with W = 250 and X = 100, should round(W / X) be 2 or 3?
>
> I believe in other cases, we've explicitly specified that it rounds up.

Do we need to worry about the situation where a bunch of round(W/X)
items are in a row?  If so it might be better to make it alternate.

zw
Received on Tuesday, 26 March 2013 17:42:08 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:42:09 GMT