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

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

From: fantasai <fantasai.lists@inkedblade.net>
Date: Thu, 29 Nov 2007 22:14:45 -0500
Message-ID: <474F8025.6060308@inkedblade.net>
To: Anne van Kesteren <annevk@opera.com>
CC: www-style@w3.org, Bert Bos <bert@w3.org>

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.

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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:31 UTC