RESOLVED INVALID 65716
Can't set '-webkit-locale' by script to other value than 'auto'
https://bugs.webkit.org/show_bug.cgi?id=65716
Summary Can't set '-webkit-locale' by script to other value than 'auto'
Mathias Nater
Reported 2011-08-04 14:02:29 PDT
Created attachment 102975 [details] simple html test case Setting the '-webkit-locale' property to a language by JavaScript fails without any warning or error thrown. It works for the value 'auto', thus. See attached test-case. (Test 3 fails, 'de' is expected.)
Attachments
simple html test case (1.07 KB, text/html)
2011-08-04 14:02 PDT, Mathias Nater
no flags
mitz
Comment 1 2011-08-04 15:03:35 PDT
Locale identifiers are not CSS value keywords (like auto is). If you're using this syntax, you need to quote the identifier so that it's treated as a string, e.g. '"de"'.
Mathias Nater
Comment 2 2011-08-05 01:42:02 PDT
Thanks! Looks scary…
Note You need to log in before you can comment on or make changes to this bug.