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

Re: [css3-syntax] EOF and } in at-rule preludes and selectors

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 29 Jan 2013 19:36:11 -0800
Message-ID: <CAAWBYDB3fyvr4-nTKgEqWsGviNQgq-zHsQe02TRx7UkC0pJzGQ@mail.gmail.com>
To: Glenn Adams <glenn@skynav.com>
Cc: Simon Sapin <simon.sapin@kozea.fr>, "www-style@w3.org" <www-style@w3.org>
On Tue, Jan 29, 2013 at 7:31 PM, Glenn Adams <glenn@skynav.com> wrote:
> On Tue, Jan 29, 2013 at 4:36 PM, Simon Sapin <simon.sapin@kozea.fr> wrote:
>> Indeed, the above @import rule is invalid per the CSS 2.1 core grammar,
>> but I believe that the "User agents must close all open constructs at the
>> end of the style sheet." part of §4.1 should apply.
> Agreed, but that doesn't mean that such a CSS style sheet fragment is valid.

Validity is irrelevant.  We just care about behavior.

>> Error handling is a big part of what we’re trying to specify with
>> css3-syntax. The point is to make it interoperable.
> Oh, I definitely agree we want to do this. I'm a bit more concerned we get
> the vague semantics of CSS2.1 §4.2 Malformed Declarations/Statements
> corrected, especially w.r.t.
>> while observing the rules for matching pairs of (), [], {}, "", and '',
>> and correctly handling escapes

Long-since fixed in the Syntax draft.  (And yes, that line was one of
the reasons I wrote this spec.)

Received on Wednesday, 30 January 2013 03:36:58 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:23 UTC