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

[css3-background] border-image syntax

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 26 Jan 2009 13:13:56 -0800
Message-ID: <497E2794.8000702@inkedblade.net>
To: www-style@w3.org

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}

~fantasai
Received on Monday, 26 January 2009 21:14:36 GMT

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