MSIE5preview and child selectors

Gosh ! I am writing a set of CSS 2 tests and discover this nice bit of
a bug in the preview of MSIE 5 :

<STYLE TYPE="text/css">
	H1 > SPAN.c1 { color : red }
</STYLE>
<P>The word between "<SPAN CLASS="c1">quotes</SPAN>" must *not* be in red.</P>

And the word between quotes is in red ! Two possibilities :

a) a big bug in the child selector's handling
b) child selectors are not implemented in MSIE5p and there is then
   a big bug in the CSS error handler of MSIE 5 because the entire
   rule should be ignored

If it is because of b), this is IMO a major bug. The error handling of
CSS is a basic stone of the specification and implementors should
spend enough time so it works *perfectly*. If it is because of a),
this looks strange because the child selector is easier to implement
than the descendant selector which is implemented correctly...

</Daniel>

Received on Sunday, 21 June 1998 08:30:43 UTC