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

On Mon, Sep 28, 2009 at 5:51 PM, Brad Kemper <> wrote:
> Sure it would. The alignment wouldn't change as you added more tiles. The
> would just push previous tiles to the left. Like when you add words to a
> centered paragraph. At least that's how I read it.

Ah, I don't see it that way.  I presumed that it would tile in a
similar manner to backgrounds.

> You're saying that only the first tile is on the left edge for "round", so
> that successive tile can be added to the right of it?


> By that logic, if "repeat" is used instead of "round", then the first tile
> is centered, and successive tiles are added to both sides? Then with an even
> number of tiles there is always at least an extra tile's worth of space left
> over, split between the two sides? That seems pretty screwey to me. It seems
> to guarantee that for about half the box widths, the edge will not be filled
> as fully as it could be with repeating tiles. Why would you want that? Or
> are you saying they would be clipped at the two edges where they ran into
> the corner pieces? That would be even worse! The "tile and draw" part
> doesn't actually say if "repeat" is only tiling whole tiles, but I had
> assumed it would.

That is an interesting problem, and *does* seem to be a real issue.
(By my current reading, 'repeat' will only repeat whole tiles, and so
in this case will be 1 short of full in some cases.)

On the other hand, this behavior does allow it to still sync up with
backgrounds that are repeated.  Filling it to the maximum (sometimes
using an even number of tiles) won't always do that.

Bert, fantasai, any comment on the intentions here?


Received on Monday, 28 September 2009 22:59:37 UTC