Re: [CSS21] DELIM? in core syntax

On Sat, 05 Apr 2008 11:28:04 +0200, Benjamin Hawkes-Lewis  
<> 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