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

Re: [Syntax Level 3]

From: L. David Baron <dbaron@dbaron.org>
Date: Tue, 28 Aug 2012 13:21:28 -0700
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: Brian Kardell <bkardell@gmail.com>, fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <20120828202128.GA13216@crum.dbaron.org>
On Tuesday 2012-08-28 12:37 -0700, Tab Atkins Jr. wrote:
> The point is that, as currently implemented, whenever I see a ! in a
> rule, I need to push it into a substack, along with all subsequent
> whitespace and comment tokens, until I see a token that's neither
> whitespace nor a comment.  If it's an IDENT(important), I throw away
> the stack and make the declaration important.  If it's anything else,
> I insert the entire stack into the declaration's value.
> This isn't hard.  It is, however, inelegant and *useless*.  There is
> absolutely no reason to allow this, and it would simplify parsers the
> spec and parsers to disallow it.  There shouldn't be any compat impact
> to the change.

Why should we allow ! within values?  It seems already somewhat
established as a delimiter.  Can't it just always end the value at
the !, and then make the thing after it make the declaration invalid
if it's something other than IDENT(important)? 


𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                           http://www.mozilla.org/   𝄂
Received on Tuesday, 28 August 2012 20:21:54 UTC

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