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

Re: [css3-images] interaction of parts of the definitions of object sizing

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 15 Mar 2012 13:59:08 -0700
Message-ID: <CAAWBYDDk86sVvRt9QaiezTAdob4KL0asW2YgpzXY7H0_4SwaXg@mail.gmail.com>
To: "L. David Baron" <dbaron@dbaron.org>
Cc: www-style@w3.org
On Wed, Mar 14, 2012 at 1:58 PM, L. David Baron <dbaron@dbaron.org> wrote:
[snip the rest of your email - I'm dealing with separately]

> It's also not clear to me why the influence of background-repeat:
> round on background-size isn't just already taken into account in
> the definition of "specified width".

I did this because it seems like the 2-value clause in background-size
is, itself, invoking the object sizing algorithm.  It felt natural to
just let it do explicitly that, and then come around later with
background-repeat:round fixup.  Otherwise, you're running the default
sizing algorithm to determine one of the inputs to the default sizing
algorithm.

On the other hand, the second run of the algorithm gets given a
specified size with definite width and height, which means it exits
immediately, so it's not "really" doing anything.  Maybe this is all
right.

~TJ
Received on Thursday, 15 March 2012 20:59:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 03:48:52 GMT