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

Re: [CSS3 Backgrounds and Borders] Proposal for combining border-break and background-break

From: fantasai <fantasai.lists@inkedblade.net>
Date: Thu, 23 Jul 2009 13:08:20 -0700
Message-ID: <4A68C334.30407@inkedblade.net>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: David Hyatt <hyatt@apple.com>, "www-style@w3.org list" <www-style@w3.org>
Tab Atkins Jr. wrote:
>> (2) The ability to specify bounding-box coverage for backgrounds.
>>        - My proposal here is to scrap this feature.
>>        - I do not see a use case for placing a background into the bounding
>> box.   That just seems like it would give unusual results for both inlines
>> and columns.  Columns broken across pages would be even stranger.
> I definitely see the use for this ability, but it's nothing that can't
> be done by putting a background on a container element instead.  I'd

Putting a background on the container element would get you a very different

The bounding-box effect is similar to the tables example here:
Imagine we just have the first row, and each box is a column rather than
a table cell.
Here's the concept rendering for that image:

What bounding-box does is draw a rectangle that includes all pieces of
the element--without moving those pieces around--and then clips out the
parts of the background that are needed to inside the element's boxes.

You can see some interesting effects with gradients. See

Received on Thursday, 23 July 2009 21:08:48 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 11 February 2015 12:34:27 UTC