Re: [css3-background] grammar issue

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 UTC