Re: [css3-background] border-image syntax

On Monday 26 January 2009 22:13, fantasai wrote:
> The syntax for border-image is currently
>
>    <image>
>    [ <number> | <percentage>]{1,4} [ / <border-width>{1,4} ]?
>    [ stretch | repeat | round ]{0,2}
>
> which is unusually restrictive for CSS. Normally we allow swapping
> the order of various elements of a complex syntax. In this case,
> I'd expect to be allowed to place the stretch/repeat/round keywords
> before the URL as well as at the end.
>
> I propose
>
>    [ <image> [ <number> | <percentage>]{1,4}
>              [ / <border-width>{1,4} ]?       ]
>    && [ stretch | repeat | round ]{0,2}

I agree, that seems more in line with how we usually design complex 
values.



Bert
-- 
  Bert Bos                                ( W 3 C ) http://www.w3.org/
  http://www.w3.org/people/bos                               W3C/ERCIM
  bert@w3.org                             2004 Rt des Lucioles / BP 93
  +33 (0)4 92 38 76 92            06902 Sophia Antipolis Cedex, France

Received on Tuesday, 27 January 2009 17:37:00 UTC