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

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

From: Robert O'Callahan <robert@ocallahan.org>
Date: Mon, 2 Feb 2009 07:50:50 +1300
Message-ID: <11e306600902011050u2de2a3cesf8a047b304fe1bcb@mail.gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>
Cc: Brad Kemper <brad.kemper@gmail.com>, "www-style@w3.org" <www-style@w3.org>
On Sun, Feb 1, 2009 at 6:53 PM, fantasai <fantasai.lists@inkedblade.net>wrote:

> Robert O'Callahan wrote:
>
>>  So you're saying that in my testcase, the shadow of the first box of the
>> span should disappear, since it's to the right of that box's right border
>> edge, but the shadow of the second box of the span should be drawn in its
>> entirety?
>>
>
> No, the shadow of the first box should be drawn except on the (broken)
> left side, and the shadow of the second box should be drawn except
> on the (broken) right side.
>
> Like this:
>
>          +-------
>          |
>          +-------
>            ######
>
> ---------+
>         |#
> ---------+#
> ###########
>

You seem to have missed that the horizontal shadow offset in my example
causes the box-shadow to not intersect the border-box.

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]
Received on Sunday, 1 February 2009 18:51:26 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:16 GMT