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

Re: Border-radius proposal

From: Sean Edison-Albright <sean.albright+css@gmail.com>
Date: Wed, 30 Jun 2010 09:55:35 -0500
Message-ID: <AANLkTilndyWSm_L06NjDfCLsr70JYx6nZUjJDtf37o9V@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: www-style@w3.org
I'd imagine an S-curve if you specified +/- height width, but your
point is taken.  It would be a pretty kludgy way of doing it.  I'm
always in favor of more options, and what you describe seems like a
much more robust method than I proposed.

Sean

On Wed, Jun 30, 2010 at 9:40 AM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
> On Sun, Jun 27, 2010 at 7:11 AM, Sean Edison-Albright
> <sean.albright+css@gmail.com> wrote:
>> Greetings, all!
>>
>> The moderator of css-d suggested this might be a more appropriate
>> forum for this proposal.  I was wondering if anyone had considered
>> allowing negative arguments to the border-radius property to create a
>> sort of scooped-out rounded corner -- like you might see on an
>> old-fashioned movie ticket or a decorative border.  It seems like a
>> fairly logical, and useful extension of the existing behavior.  What
>
> While that sort of border effect could be useful, allowing it through
> a negative argument on border-radius doesn't seem like a great way to
> do it.  What happens if you specify both the height and width of a
> corner, and one is positive but the other negative?
>
> If we want multiple different corner styles (we do), then we should
> address that directly through a separate property.  That way we can
> present normal corners, scooped corners like you describe, and several
> others, like dogear corners (just a straight line  cutting it off).
>
> That way you'd create a scooped corner with something like this:
>
> foo {
>  border-radius: 8px;
>  border-radius-style: scooped;
> }
>
> ~TJ
>
Received on Wednesday, 30 June 2010 14:56:31 GMT

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