Re: Bug With CSS Validator?

On Tue, 2005-12-27 at 11:00 -0800, Storm, Dan wrote:
> #main > div.greyBar ~ p {text-align: right;}
> 
> Error reported: Combinator ~ between selectors is not allowed in this
> profile or version 
> 
> The combinator ~ is legal according to the CSS3 spec. Is the problem
> that this indirect adjacent sibling combinator is just too new, or
> that the spec has not been finalized? It does work in FF1.5.

No problems validating it here:

http://jigsaw.w3.org/css-validator/validator?text=%23main+%3E
+div.greyBar+%7E+p+%7Btext-align%3A+right%3B%
7D&warning=1&profile=css3&usermedium=all

Perhaps you forgot to specify the CSS 3 profile and were thus validating
against CSS 2.

-- 
David Dorward                           <http://dorward.me.uk/>
"Anybody remotely interesting is mad, in some way or another."
                             -- The Greatest Show in the Galaxy

Received on Wednesday, 28 December 2005 10:52:27 UTC