A question about the CSS specs and a bug report for IE7 build 5335.
IE7 build 5335 "fails" the test t1 in the test case below. I say "fails" in
the sense that I'm assuming that the consensus represented by the behaviour
shown by Firefox 1.5 and the current pre-release versions Opera 9 is assumed
to be correct.
Could someone tell me whether the test below is valid or fair?
That is, I am assuming that my reading of the unhelpful CSS 2/2.1 specs is
that comments are in a sense ignorable, in that they are not separators
equivalent to whitespace, so that a selector such as
*[lang]/**/[xmlns]
should be equivalent to *[lang][xmlns]
and not equivalent to
*[lang] [xmlns]
Is that correct?
Cecil Ward.
Test case follows:-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title></title>
<style type="text/css">
*[lang]/**/[xmlns] #t1 { font-style:italic; }
p/**/#t2 { font-style:italic; }
</style>
</head>
<body>
<p id="t1">Should be italic.</p>
<p id="t2">Should be italic.</p>
</body>
</html>
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/