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

Re: [css3-background] grammar issue

From: Yves Lafon <ylafon@w3.org>
Date: Fri, 26 Feb 2010 09:21:03 -0500 (EST)
To: Brad Kemper <brad.kemper@gmail.com>
cc: "Tab Atkins Jr." <jackalmage@gmail.com>, fantasai <fantasai.lists@inkedblade.net>, Bert Bos <bert@w3.org>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <alpine.DEB.1.10.1002260914290.15736@wnl.j3.bet>
On Fri, 26 Feb 2010, Brad Kemper wrote:

>
> On Feb 26, 2010, at 4:43 AM, Yves Lafon wrote:
>
>>> I disagree. In border-image you can have nothingness between the two 
>>> slashes.
>> What?? If that's true (and the grammar seems to allow that, 
>> unfortunately), then it's really insane, unless 'nothing' is an allowed 
>> value, but I bet it is not.
>
> Why would 'nothing' have to be an allowed value? Leaving out a value out 
> from a shorthand does not set it to 'nothing', and it does not change 
> the syntactical rules of the shorthand.

Yes it does, separators must separate things.
border-image: // 10px
(or border-image: / / 10px) is also a bad unless it means
border-image: <nothing> / <nothing> / 10px

As <nothing> is not an allowed value, something else than '/' ou ',' 
(defined as separators) should be used, unless you add specific rules like 
"don't start with a / and don't put two / in a row", or even add an 
'ignored' value.

(and the fact that it happens also in border-image is a new issue, linked 
to the original one on 'background').

-- 
Baroula que barouleras, au tiéu toujou t'entourneras.

         ~~Yves
Received on Friday, 26 February 2010 14:21:05 GMT

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