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

Re: [CSS21] DELIM? in core syntax

From: Anne van Kesteren <annevk@opera.com>
Date: Sat, 05 Apr 2008 11:35:53 +0200
To: "Benjamin Hawkes-Lewis" <bhawkeslewis@googlemail.com>, fantasai <fantasai.lists@inkedblade.net>
Cc: www-style@w3.org
Message-ID: <op.t84sx3ek64w2qv@annevk-t60.oslo.opera.com>

On Sat, 05 Apr 2008 11:28:04 +0200, Benjamin Hawkes-Lewis  
<bhawkeslewis@googlemail.com> wrote:
> While IDENT does fully cover vendor-prefixed properties, note that  
> DELIM? also (incidentally) allowed the following "star property"  
> parsing-bug hack for passing properties to IE7 and below
> *width: 100px;

It's not just * that does that:


> to be parsed and discarded as a malformed declaration by conforming  
> implementations, rather than rendering the entire input untokenizable.

Actually, the core syntax does not deal with that.

   body { * ; color:lime }

for instance does not match the core syntax either and is still parsed as  

   body { color:lime }

was specified.

The malformed declaration entry in


takes care of handling that correctly.

Anne van Kesteren
Received on Saturday, 5 April 2008 09:36:31 UTC

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