Re: [css-variables] Slight tweak to value space of CSS variables

On Tue, May 28, 2013 at 11:43 AM, Tab Atkins Jr. <> wrote:
> On Sun, May 26, 2013 at 10:51 PM, L. David Baron <> wrote:
>> One problem here is that CSS 2.1 produces BAD_STRING and BAD_URL at
>> end-of-file, when our current end-of-file handling rules say that
>> strings and URLs should in fact be valid.  (Though I'm tending
>> towards thinking that change may have been a mistake.)
> Note that Syntax produces valid strings and url tokens at EOF.

When I introduced the BAD_STRING and BAD_URL productions in 2.1 it was
not my intention to make them appear for strings/URLs terminated by
EOF; it was a corner case I missed.

On the other hand, I have never liked the "EOF closes all open
constructs without error" rule, and I suspect it could be removed
without webcompat fallout.

Received on Tuesday, 28 May 2013 15:52:42 UTC