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

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

From: Brad Kemper <brad.kemper@gmail.com>
Date: Wed, 15 Jul 2009 13:45:08 -0700
Message-Id: <992372F6-523B-4DC1-98FC-39BAA072F3A3@gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: www-style list <www-style@w3.org>

Sent from my iPhone

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

> 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

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