Bug 21464

Summary: Language attribute case sensitive
Product: WebKit Reporter: xlyuan
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: ap, bfulgham, esprehn, ishida, jshin, mmaxfield
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: http://www.w3.org/International/tests/test-css-lang-6.html

Description xlyuan 2008-10-08 02:18:33 PDT
Other Browsers:
Firefox3: Fail
     IE7: Fail

Steps:
1. Launch Chrome or Safari
2. Go to http://www.w3.org/International/tests/test-css-lang-6.html
3. Scroll the page down to test case 12
4. Observe

Result:
Back ground color is white, see "Notes" section

Expected:
Should be green or blue

Notes:
The style element says: div[xml|lang="az-Arab-IR"] {
background-color:green; color:white; } div[xml\:lang="az-Arab-IR"] {
background-color:blue; color:white; } Markup is <div
xml:lang="az-arab-IR">Green or blue</div>.
Comment 1 xlyuan 2008-10-08 02:20:32 PDT
(In reply to comment #0)
> Other Browsers:
> Firefox3: Fail
>      IE7: Fail
> 
> Steps:
> 1. Launch Chrome or Safari
> 2. Go to http://www.w3.org/International/tests/test-css-lang-6.html
> 3. Scroll the page down to test case 12
> 4. Observe
> 
> Result:
> Back ground color is white, see "Notes" section
> 
> Expected:
> Should be green or blue
> 
> Notes:
> The style element says: div[xml|lang="az-Arab-IR"] {
> background-color:green; color:white; } div[xml\:lang="az-Arab-IR"] {
> background-color:blue; color:white; } Markup is <div
> xml:lang="az-arab-IR">Green or blue</div>.
> 

Chromium bug:
http://code.google.com/p/chromium/issues/detail?id=3178
Comment 2 Brent Fulgham 2022-07-11 16:32:06 PDT
Test case no longer exists.
Comment 3 Alexey Proskuryakov 2022-07-12 19:55:52 PDT
The test exists at https://web.archive.org/web/20100301222032/http://www.w3.org/International/tests/test-css-lang-6.html, but all browsers fail test 12 in the same way. So I'm sot sure if this is a valid test.