W3C home > Mailing lists > Public > www-style@w3.org > August 2011

RE: [css3-selectors] [css4-selectors] [CSS21] pseudo grammar conflicts with BCP 47 (RFC4647) for :lang()

From: Arron Eicholz <Arron.Eicholz@microsoft.com>
Date: Fri, 26 Aug 2011 18:28:47 +0000
To: Bjoern Hoehrmann <derhoermi@gmx.net>
CC: "www-style@w3.org" <www-style@w3.org>
Message-ID: <07349ECFC3608F48BC3B10459913E70B148633B2@TK5EX14MBXC294.redmond.corp.microsoft.com>
On Friday, August 26, 2011 11:19 AM Bjoern Hoehrmann wrote:
> * Arron Eicholz wrote:
> >Here is the specific part of the core grammar that is incorrect:
> >
> >Appendix G
> >
> >pseudo
> >: ':' [ IDENT | FUNCTION S* [IDENT S*]? ')' ]
> >
> >Needs to be changed to something like this:
> >
> >pseudo
> >: ':' [ IDENT | FUNCTION S* [ \*? IDENT S*]? ')' ]
> 
> Could you elaborate on what you think the problem is here? I am guessing
> that you want to add wildcard matching as a new feature to :lang but the
> change you propose does not do that.

Yes you are correct we will need to add a * to the section of the grammar that is within the FUNCTION. Though I am not a grammar expert, I thought that \*? Would allow the possibility of adding a * to the FUNCTION contents and also still allow you to provide an IDENT as well when the situation is needed.

Either way we need to add an optional *. I just may have the syntax incorrect.

--
Thanks,
Arron Eicholz
Received on Friday, 26 August 2011 18:29:27 GMT

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