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

Re: [css3-background] 'border-radius' and 'overflow'

From: Robert O'Callahan <robert@ocallahan.org>
Date: Thu, 11 Jun 2009 11:53:26 +1200
Message-ID: <11e306600906101653x6086039by3e363c987addc610@mail.gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>
Cc: "L. David Baron" <dbaron@dbaron.org>, www-style@w3.org
On Thu, Jun 11, 2009 at 4:55 AM, fantasai <fantasai.lists@inkedblade.net>wrote:

> Well, two other options here are
>  - Require the author to set overflow: hidden whenever he sets
>    border-radius on replaced elements


That sounds OK to me.

- Make all replaced elements always clip to the curve. (Is it possible
>    for replaced elements to have overflow?)
>

Not normally, but when rendering bizarre native platform themes, it might
be. For example, a button might have a glow drawn around it. On the other
hand we treat that as a background, and "overflow" doesn't really clip
borders and backgrounds.

But I think this option would be OK too.

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 Wednesday, 10 June 2009 23:54:06 GMT

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