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

Re: Feedback on case-sensitive-004 and case-sensitive-005 in beta3

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Mon, 16 Aug 2010 16:28:07 -0700
Message-ID: <147b83c07ce4ce59232a774d1ee3f0ec.squirrel@cp3.shieldhost.com>
To: "fantasai" <fantasai.lists@inkedblade.net>
Cc: "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>
> On 08/16/2010 03:41 PM, "Gérard Talbot" wrote:
>> Hello,
>> Case-insensitivity of :lang() arguments
>> http://test.csswg.org/suites/css2.1/20100815/html4/case-sensitive-004.htm
IMO, these 4 paragraphs (last 4 of the testcase)
>>     <p lang="kl">This sentence must be green.</p>
>>     <p lang="KL">This sentence must be green.</p>
>>     <p lang="fi">This sentence must be green.</p>
>>     <p lang="FI">This sentence must be green.</p>
>> of the testcase should be red, not green as stated.
> This part of the test is testing that only ASCII case-folding
> is used, not Unicode case-folding. See
>    http://lists.w3.org/Archives/Public/www-style/2010Jul/0283.html

I still do not understand. Even if it is still ASCII case-folding, and
not Unicode case-folding, then those 4 last paragraphs should still be
red, not green. This is the relevant code:

   * { color: red; }

    :lang(en) {
      color: green;
    }
    :lang(FR) {
      color: green;
    }

    /* test for ASCII (not UNICODE) case-insensitivity */
    :lang(f&#304;) {
      color: red;
    }
    :lang(F&#305;) {
      color: red;
    }
    :lang(&#8490;l) {
      color: red;
    }
  </style>

 </head>
 <body>
   <p lang="En">This sentence must be green.</p>
   <p lang="En">This sentence must be green.</p>
   <p lang="fr">This sentence must be green.</p>
   <p lang="fR">This sentence must be green.</p>
   <p lang="kl">This sentence must be green.</p>

   <p lang="KL">This sentence must be green.</p>
   <p lang="fi">This sentence must be green.</p>
   <p lang="FI">This sentence must be green.</p>

What am I missing here?

>> And the first 2 paragraphs are exactly the same.
> I'm not sure what you mean by this.

The markup for the first 2 paragraphs is exactly the same.

regards, Gérard
-- 
Contributions to the CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

CSS 2.1 test suite (beta 3; August 15th 2010):
http://test.csswg.org/suites/css2.1/20100815/html4/toc.html

CSS 2.1 test suite contributors:
http://test.csswg.org/source/contributors/
Received on Monday, 16 August 2010 23:28:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 20 September 2010 17:52:03 GMT