[Bug 4870] Comment inside selector, with whitespace before and after

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4870





------- Comment #1 from cecil@cecilward.com  2007-10-24 10:18 -------
Re-tested, 2007-10-24; behaviour remains unchanged. In respect of test case 1,
the "correctness" of the validator needs to be reviewed, but the issue is at
least as much about what actually is the precise grammar of CSS x?.?

In the light of the actual behaviour of IE versions it is arguable that the
current behaviour of the validator (in failing test case 1) is "helpful",
whether or not it is correct.

Maybe this is an argument for an "extra-strict" aka "real-world" or ("extra
warnings") parsing mode option, one that is more restrictive than the real CSS
vx.x published grammars, which would warn against bizarre unrealistic CSS that
will fail in one or more known UA.

Received on Wednesday, 24 October 2007 10:18:16 UTC