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

Re: [css3-background] double '/' in border

From: Yves Lafon <ylafon@w3.org>
Date: Tue, 30 Nov 2010 11:32:15 -0500 (EST)
To: fantasai <fantasai.lists@inkedblade.net>
cc: www-style@w3.org
Message-ID: <alpine.DEB.1.10.1011301131270.30745@wnl.j3.bet>
On Wed, 24 Nov 2010, fantasai wrote:

> On 11/05/2010 03:17 AM, Yves Lafon wrote:
>> On Fri, 5 Nov 2010, fantasai wrote:
>>> On 11/04/2010 08:50 AM, Yves Lafon wrote:
>>>> 
>>>> but border-image is defined as
>>>> "<'border-image-source'>||<'border-image-slice'>[/<'border-image-width'>?[/<'border-image-outset'>]?]?||<'border-image-repeat'>
>>>> 
>>>> meaning that you can have 'border-image-slice' / / 'border-image-outset'
>>>> This is the same issue as background starting with '/'.
>>>> Could it be fixed as well ?
>>> 
>>> What's the issue exactly?
>> 
>> The same as in the 'background' case, / is used as a separator in CSS2.1
>> and it makes my parser to choke when no values are between two separator
>> instances.
>
> Yves, the CSSWG discussed this issue, and we feel that it's not something
> we want to change. It's an inconsistency with the CSS2.1 level-specific
> non-normative grammar, not the core grammar. While the Appendix G grammar
> can be useful for generating a parser for CSS2.1, if you're parsing CSS3
> expect to modify the grammar as appropriate to handle any new grammatical
> constructs in CSS3--it was not intended as a forwards-compatible grammar.
>
> Minutes of the telecon are here:
>  http://lists.w3.org/Archives/Public/www-style/2010Nov/0264.html
> The WG resolution is not to change the border-image syntax.
>
> We hope this is acceptable.

Not ideal but I understand your reasons.
Cheers,

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

         ~~Yves
Received on Tuesday, 30 November 2010 16:32:17 GMT

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