- From: Peter S. Linss <peter@linss.com>
- Date: Thu, 04 Oct 2001 13:31:09 -0700
- To: www-style@w3.org
- CC: todd fahrner <fahrner@pobox.com>
Whitespace is explicitly allowed between the "!" and "important". See:
http://www.w3.org/TR/REC-CSS2/grammar.html
"!{w}important" {return IMPORTANT_SYM;}
todd fahrner wrote:
> I'm passing along 2 questions by a CSS implementor who wishes to remain
> anonymous:
>
> > The spec defines IMPORTANT_SYM as
> >
> > !important
> >
> > Some of the examples use
> >
> > !important
> >
> > and others use
> >
> > ! important
> >
> > The CSS Validator seems to accept any amount of space between ! and
> > important.
> >
> > Do you know what the truth is?
>
> >
> > =======
> >
> > The CSS2 spec says rect is
> >
> > rect(top right left bottom)
> >
> > but in their example they use
> >
> > rect(top, right, left, bottom)
> >
> > Are the commas required or not?
> >
> > GoLive generates css without the commas, and so does StyleMaster. The
> > validator wants the commas. The css "works" in IE 5 with or without
> > the commas. Neither appears to work in Mozilla (for clip).
>
> --
> todd fahrner
Received on Thursday, 4 October 2001 16:32:42 UTC