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

Re: [css3-background] box-shadow and border-break

From: Brad Kemper <brad.kemper@gmail.com>
Date: Sat, 31 Jan 2009 00:24:50 -0800
Cc: robert@ocallahan.org, "www-style@w3.org" <www-style@w3.org>
Message-Id: <BAB2A0AB-BAA7-4EF8-A36E-30B8F5426549@gmail.com>
To: Brad Kemper <brad.kemper@gmail.com>

On Jan 31, 2009, at 12:22 AM, Brad Kemper wrote:

> If a box is cut in two, due to a page break, there would be no  
> border or shadow at the bottom of the first page or at the top of  
> the next page. It would be as though the box had been sliced though  
> the middle somewhere, so that even though it is in two pieces, it  
> still only has one top and one bottom.
> So and shadow visible along the right or left edge should appear  
> sliced off by the same straight cut that divided the box.
> The key word of "where borders would also be drawn" is "would". It  
> doesn't matter if there are borders or not, since no border appears  
> at the bottom of the page (where the box was divided across pages),  
> no shadow should appear along that edge either.

Forgot to mention, this happens when the value of border-break is  
"none", not "solid".

> On Jan 31, 2009, at 12:09 AM, Robert O'Callahan wrote:
>> http://dev.w3.org/csswg/css3-background/ says under box-shadow:
>> If an element has multiple boxes, all of them get drop shadows, but  
>> shadows are only drawn where borders would also be drawn, see  
>> 'border-break'.
>> This doesn't make any sense to me. The shadows are shadows of the  
>> border-box, not shadows of the borders themselves. There's no way  
>> to "not draw" a shadow on one side of the box when we're drawing a  
>> shadow of the box rectangle.
>> I suggest this sentence just be removed. If it's not removed,  
>> someone please give an example of how it would be applied,  
>> preferably by describing the rendering of this attached testcase.
>> Thanks,
>> Rob
>> -- 
>> "He was pierced for our transgressions, he was crushed for our  
>> iniquities; the punishment that brought us peace was upon him, and  
>> by his wounds we are healed. We all, like sheep, have gone astray,  
>> each of us has turned to his own way; and the LORD has laid on him  
>> the iniquity of us all." [Isaiah 53:5-6]
>> <test.html>
Received on Saturday, 31 January 2009 08:25:28 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:23 UTC