Re: [css3-borders] Should border-radius clip backgrounds in the presence of border-image?

Sent from my iPhone

On Jul 15, 2009, at 12:47 PM, "Tab Atkins Jr." <jackalmage@gmail.com>  
wrote:

> On Wed, Jul 15, 2009 at 1:01 PM, Zack  
> Weinberg<zweinberg@mozilla.com> wrote:
>> When the "border styles" are suppressed due to the presence of a  
>> border
>> image, should browsers continue to clip the background to the  
>> specified
>> border-radius?  Empirically, both Firefox (3.5 and trunk) and Webkit
>> (1.1.10) do so, but I doubt anyone really thought about it.  I could
>> argue both ways on whether it's desirable -- the attached example  
>> looks
>> bad, but I could come up with a border image for which it would look
>> good.
>
> Brad Kemper had an test page covering this:
> http://www.bradclicks.com/cssplay/BorderImageAndRadius.html
>
> It seems that allowing border-radius to continue to work (at least for
> clipping backgrounds) in the presence of border-image can be useful.
>
> ~TJ

Yes, especially if it used the inner curve to clip the background in  
the presence of     background-clip:padding-box;



>

Received on Wednesday, 15 July 2009 20:46:01 UTC