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

Re: Idea : replacement for border-radius, a more complete corner styling property.

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 5 Aug 2009 09:44:41 -0500
Message-ID: <dd0fbad0908050744p17470fbby9cbecfae0a064c91@mail.gmail.com>
To: François REMY <fremycompany_pub@yahoo.fr>
Cc: Nicosmos <contact@nicosmos.net>, CSS 3 W3C Group <www-style@w3.org>
On Wed, Aug 5, 2009 at 9:32 AM, François REMY<fremycompany_pub@yahoo.fr> wrote:
> Thanks for your suggestion.
>
> It would be a nice to have, but I don't think any implementor would like
> to have this included in the spec. We currently have a nearly compatible
> solution about border-radius, nobody shall delete it from the spec in
> favor of an hypotetical replacement.
>
> Maybe such features may be implemented in a later version of CSS by
> introducting the use of a keyword in the border-radius property.
>
>     selector {
>         border-radius: 10px beleved;
>     }
>
> Please note that I'm not a browser implemetor, and anything I could say
> here is only speculative and only reflects my own thoughts.

This could be done in a perfectly compatible manner by introducing a
single new property, border-radius-shape.  It takes 1-4 shape
keywords, and interacts with border-radius in the expected way.

This would then degrade to a normal curved corner in non-supporting
browsers, which should be just fine.

~TJ
Received on Wednesday, 5 August 2009 14:45:44 GMT

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