W3C home > Mailing lists > Public > www-style@w3.org > November 2010

RE: [css3-backgrounds] Should a non-zero border-radius create a new stacking context ?

From: Sylvain Galineau <sylvaing@microsoft.com>
Date: Fri, 19 Nov 2010 21:10:32 +0000
To: "L. David Baron" <dbaron@dbaron.org>
CC: "www-style@w3.org" <www-style@w3.org>
Message-ID: <045A765940533D4CA4933A4A7E32597E2A4B7D77@TK5EX14MBXC111.redmond.corp.microsoft.com>
> From: L. David Baron [mailto:dbaron@dbaron.org]
> Sent: Friday, November 19, 2010 12:56 PM
> To: Sylvain Galineau
> Cc: www-style@w3.org
> Subject: Re: [css3-backgrounds] Should a non-zero border-radius create a
> new stacking context ?
> 
> On Friday 2010-11-19 20:43 +0000, Sylvain Galineau wrote:
> > It's not  clear to me why this is useful or desirable. Should we treat
> > curved borders as a composition effect similar to opacity or
> > transforms ?
> 
> I think making the addition of a rounded border cause changes in z-
> ordering would be confusing to authors.

How is it more confusing than the one that happens when opacity < 1 ?

> 
> I think what's actually odd here is that overflow != visible doesn't cause
> changes in z-ordering (to group things inside it).  But we've had that
> oddness for a long time.  

True.

> (Is it interoperable?)
Not sure what you are referring to. If you mean the testcase I attached, no,
not yet. Only Firefox clips the blue element in this case. Most browsers still 
have curve-clipping issues with border-radius. 
Received on Friday, 19 November 2010 21:11:12 GMT

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