- From: Gérard Talbot <css21testsuite@gtalbot.org>
- Date: Mon, 16 Aug 2010 16:28:07 -0700
- 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İ) { color: red; } :lang(Fı) { color: red; } :lang(Kl) { 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 UTC