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

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

From: fantasai <fantasai.lists@inkedblade.net>
Date: Wed, 24 Nov 2010 22:00:44 -0800
Message-ID: <4CEDFB8C.6090103@inkedblade.net>
To: Yves Lafon <ylafon@w3.org>
CC: www-style@w3.org
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:
The WG resolution is not to change the border-image syntax.

We hope this is acceptable.

Received on Thursday, 25 November 2010 06:01:20 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:41 UTC