W3C home > Mailing lists > Public > www-style@w3.org > September 2009

Re: Border-Images and 'round': CSS Backgrounds and Borders Module ?Level 3

From: L. David Baron <dbaron@dbaron.org>
Date: Wed, 30 Sep 2009 12:21:37 -0700
To: Brad Kemper <brad.kemper@gmail.com>
Cc: fantasai <fantasai.lists@inkedblade.net>, "Tab Atkins Jr." <jackalmage@gmail.com>, www-style list <www-style@w3.org>
Message-ID: <20090930192137.GA31285@pickering.dbaron.org>
On Tuesday 2009-09-29 20:19 -0700, Brad Kemper wrote:
> I'm not against having "repeat" as one of four values for this property, 
> but chopping into the tiles where they meet the corners does not seem 
> like it would ever be the right thing to do.

It could be the right thing to do when the sides are uniform (i.e.,
stretch vs. repeat vs. round makes no difference), since I suspect
repeat may be the fastest in that case (though I'm not sure).

That said, if that's the only use, it would probably be better to
have a keyword for "fastest" that says that implementations should
fill the space using the image the fastest way they can (probably
either repeat or stretch a one-pixel-long segment of the side).

That said, CSS hasn't really gotten involved in this type of
optimization in the past.


L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Wednesday, 30 September 2009 19:22:09 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:39 UTC