case-insensitivity test review

Comments on Microsoft's testcases:


http://test.csswg.org/suites/css2.1/20100727/xhtml1/case-insensitivity-001.xht

This test has two parts:

The part that tests case-sensitivity of property names and value keywords is
a duplicate of the existing
   http://test.csswg.org/suites/css2.1/20100727/xhtml1/case-sensitive-000.xht

The second part tests the case-sensitivity of tag names, and is incorrect.
The case-sensitivity of tag names is defined by the document language, and
in the case of XHTML they are case-sensitive. I recommend splitting out this
part into two tests, one XMLonly and one HTMLonly, to test the case-sensitivity
and insensitivity, respecitvely, of XHTML and HTML tag and attribute names.
Please add these new tests to the case-sensitive-### test series.


http://test.csswg.org/suites/css2.1/20100727/xhtml1/case-insensitivity-002.xht

This test is correct, but the assertion and title seem to indicate a
misunderstanding of case-sensitivity. This test should be split out
into three tests:
   - one for attribute values that are case-sensitive in both XHTML and HTML
   - one HTMLonly for attribute values that are case-insensitive in HTML
   - one XMLonly for attribute values that are case-insensitive in HTML but
     case-sensitive in XHTML
Please also add these tests to the case-sensitive-### series.

The case-sensitivity of attribute values is defined by the HTML specification.

~fantasai

Received on Friday, 13 August 2010 18:44:36 UTC