WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
21417
Specifying more than one language in META fails w3 test
https://bugs.webkit.org/show_bug.cgi?id=21417
Summary
Specifying more than one language in META fails w3 test
Jon@Chromium
Reported
2008-10-06 16:28:05 PDT
The behavior in the instance of having more than one language specified in the META tag of a page is not specified. IE 7, Chromium, and Safari 3.1 all fail this test. Firefox passes. The html element in the test says: <html>. There is no HTTP Content-Language information. There is a meta tag that says <meta http-equiv="Content-Language" content="ko,zh,ja" />. The tests will react if Korean (ko) language is detected. Steps: 1. Launch Chrome, or Safari 3.1 2. Go to
http://www.w3.org/International/tests/sec-lang-decl-6
or
http://www.w3.org/International/tests/sec-lang-decl-7
3. Observe "Styling with :lang" section Result: Background color is white Expected: Should be green This is being tracked by Chromium as
http://code.google.com/p/chromium/issues/detail?id=3180
Attachments
Add attachment
proposed patch, testcase, etc.
Matt Falkenhagen
Comment 1
2012-01-23 20:14:15 PST
According to the HTML5 spec, http-equiv Content-Language containing a comma should be ignored:
http://dev.w3.org/html5/spec/Overview.html#pragma-set-default-language
Also, when falling back to the HTTP header Content-Language, if it contains multiple languages, the computed lang should be unknown: "In the absence of any such language information, and in cases where the higher-level protocol reports multiple languages, the language of the node is unknown, and the corresponding language tag is the empty string." The w3 tests seem updated to reflect this:
http://www.w3.org/International/tests/html-css/language-declarations/results-language-declarations
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug