W3C home > Mailing lists > Public > www-style@w3.org > April 2013

Re: [css-syntax][selectors] Added a COLUMN token to Syntax

From: Kang-Hao (Kenny) Lu <kanghaol@oupeng.com>
Date: Fri, 05 Apr 2013 11:55:18 +0800
Message-ID: <515E4B26.8080706@oupeng.com>
To: Simon Sapin <simon.sapin@exyr.org>
CC: "Tab Atkins Jr." <jackalmage@gmail.com>, www-style list <www-style@w3.org>
(13/04/04 18:13), Simon Sapin wrote:
> Le 04/04/2013 02:06, Tab Atkins Jr. a écrit :
>> I just added a COLUMN token to the Syntax draft, matching "||".  It's
>> needed for Selectors, so it can maintain LL(1).  (Otherwise, seeing
>> "*" followed by "|" is ambiguous until you look at the *next* token.)
> Hi,
> I’m not objecting, but shouldn’t LL(1) be only an implementation
> concern? AFAICT, it is not detectable whether an implementation parses
> "||" as a single token, or looks ahead for two delim tokens.

x |/**/| y ?

I agree that maintaining LL(1) isn't too important but I don't see much
harm in introducing a new token either.

Web Specialist, Opera Sphinx Game Force, Oupeng Browser, Beijing
Try Oupeng: http://www.oupeng.com/
Received on Friday, 5 April 2013 03:55:48 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:28 UTC