W3C home > Mailing lists > Public > public-css-testsuite@w3.org > August 2010

Microsoft comments tests

From: fantasai <fantasai.lists@inkedblade.net>
Date: Sat, 14 Aug 2010 10:26:20 -0700
Message-ID: <4C66D1BC.5080605@inkedblade.net>
To: "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>

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

The test should probably be:

    color: green;
    /*\*/*/color: red;


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.


This is a good test, but you MUST put the contents of the <style>
block in a CDATA section, otherwise it's invalid.

Received on Saturday, 14 August 2010 17:26:57 UTC

This archive was generated by hypermail 2.4.0 : Friday, 20 January 2023 19:58:15 UTC