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

Re: [CSS21] DELIM? in core syntax

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sat, 05 Apr 2008 16:22:19 +0200
To: Benjamin Hawkes-Lewis <bhawkeslewis@googlemail.com>
Cc: www-style@w3.org
Message-ID: <j92fv312qe1cuuakq0vgljsp0ru6vuv5fu@hive.bjoern.hoehrmann.de>

* Benjamin Hawkes-Lewis wrote:
> > The meaning of input that cannot be tokenized or parsed is undefined
> > in CSS 2.1.
>And then http://www.w3.org/TR/CSS21/syndata.html#parsing-errors says:
> > In some cases, user agents must ignore part of an illegal style
> > sheet. This specification defines ignore to mean that the user agent
> > parses the illegal part (in order to find its beginning and end), but
> > otherwise acts as if it had not been there.
>It seems to me ignoring something is equivalent to defining it as having 
>no meaning (at least to the CSS 2.1-conforming implementation).

Yes, this is a well-known contradiction in the specification (that it
says the meaning of some cases is undefined, but then goes on to de-
fine error recovery rules for a subset of those cases, in other parts
than the one you quote). The class of errors under discussion is handled
by the "Malformed declarations" recovery rule despite the first quote
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Saturday, 5 April 2008 14:23:00 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:35 UTC