Re: [css3-background] border-radius shorthand and elliptic corners

Anne van Kesteren wrote:
> 
> Hi,
> 
> I think it's important that the border-radius shorthand supports 
> elliptic corners as well and that you don't have to resort to the four 
> longer properties if you want to make elliptic corners. I have a 
> proposal that builds on the proposal that is currently under Issue 4 in 
> http://csswg.inkedblade.net/spec/css3-background the wiki.
> 
> The syntax would be something like this (it's likely that I get this 
> wrong):
> 
>   <length> [<length> [<length> <length>?]?]?
>   [/ <length> [<length> [<length> <length>?]?]?]?
> 
> Missing <length> values are filled in using the repeating pattern (top 
> left, top right, bototm right, bottom left). If no <length> after / is 
> provided they are identical to their radii counter value otherwise they 
> follow the repeating pattern too.

Bert and I decided to adopt your slash syntax, so it should turn up in the
draft soon. :)

The "repeat the pattern" fix actually doesn't match what Mozilla does or
what borders/margin/padding do (which are consistent), so I've instead
copied what they do.

~fantasai

Received on Friday, 30 November 2007 03:14:55 UTC