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

Re: [css3-background] does border-radius round the border-image ?

From: David Hyatt <hyatt@apple.com>
Date: Sat, 10 Jan 2009 14:17:11 -0600
Cc: www-style@w3.org
Message-id: <3CF30A45-7817-40B5-8B76-D29D20190676@apple.com>
To: "L. David Baron" <dbaron@dbaron.org>

I think border-radius should clip the border-image, just as it clips  
the background.  In many cases I believe the border-radius should clip  
the foreground too.  Border-image alone is not able to dictate this  
clipping behavior, so a designer *is* going to need to set both in  
order to clip the background and foreground content, regardless of  
fallback intentions.

I think it's inconsistent that this clip effect, which we'd like to  
apply to the whole box in the case of content like images, would "turn  
off" just for a single piece of the box (a specified border image).  I  
don't think the fallback use case is particularly interesting or  
relevant here.

dave
(hyatt@apple.com)

On Jan 9, 2009, at 6:27 PM, L. David Baron wrote:

>
> On Friday 2009-01-09 16:20 -0800, Brad Kemper wrote:
>> # Specifies an image to use instead of the borders created by the
>> ‘border-style’, 'border-width',  'border-color', 'border-radius', and
>
> border-width does matter some of the time.
>
>> 'box-shadow' properties and an additional background image for the
>> element. Unless the value is ‘none’ or if the image cannot be  
>> displayed,
>> the element will be displayed as if border-style and 'box-shadow' had
>> value of 'none' and 'border-radius' had a value of 0, and only
>> 'border-image' will be used to generate any border, curved corner,  
>> or box
>> shadow effects.
>
> If the border-image had the curve built in, wouldn't you want the
> border-radius to continue to apply to the background?
>
> -David
>
> -- 
> L. David Baron                                 http://dbaron.org/
> Mozilla Corporation                       http://www.mozilla.com/
>
Received on Saturday, 10 January 2009 20:30:52 GMT

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