W3C home > Mailing lists > Public > www-style@w3.org > June 2006

[css21] 4.2 Rules for handling parsing errors, question

From: Andrew Fedoniouk <news@terrainformatica.com>
Date: Thu, 8 Jun 2006 12:10:23 -0700
Message-ID: <002301c68b2f$33641a80$7f01000a@internal.toppro.net>
To: <www-style@w3.org>

Chapter http://www.w3.org/TR/CSS21/syndata.html#parsing-errors
is silent about CSS selectors parsing errors.

Let's say we have following:
b[href=], a[href="something"] { ... }

First selector is obviously erroneous.
Question: a) shall second one be considered as valid one and block following be 
used -or-
b) parser shall skip the whole fragment up to the end of the block?

I'd be happy if someone will explain how to handle such situations.

Andrew Fedoniouk.
http://terrainformatica.com
Received on Thursday, 8 June 2006 19:10:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:45 GMT