- From: fantasai <fantasai.lists@inkedblade.net>
- Date: Sat, 14 Aug 2010 10:26:20 -0700
- To: "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>
http://test.csswg.org/suites/css2.1/20100727/xhtml1/comments-006.xht This test is wrong in several ways. First, the assertion is: A star '*' escaped with a backslash will remove its special meaning. But backslash escapes don't work like that in comments. The test is: /*\**/color: green; which is basically a test with a comment that either contains an asterisk or a backslash and an asterisk, depending on whether the backslash is taken as an escape or a literal, but that will pass regardless of the interpretation. The test should probably be: color: green; /*\*/*/color: red; http://test.csswg.org/suites/css2.1/20100727/xhtml1/comments-004.xht The test here is correct, but the metadata is wrong. The comment is totally valid. It just happens to contain only a single slash character. http://test.csswg.org/suites/css2.1/20100727/xhtml1/comments-003.xht This is a good test, but you MUST put the contents of the <style> block in a CDATA section, otherwise it's invalid. ~fantasai
Received on Saturday, 14 August 2010 17:26:57 UTC