Issue metadata
Sign in to add a comment
|
Value of 'style' attribute shows comma as a decimal separator rather than a period |
||||||||||||||||||||||||
Issue description
Version: Chrome v50
OS: Mac OS X El Capitan 10.11.5
What steps will reproduce the problem?
(1) Set LANG variable to fr_FR or de_DE
(2) Launch Chrome and navigate to the attached html page.
Run ' LANG=fr_FR <path/to/chrome> “path/to/htmlPage” ' in terminal
(3) Open Chrome dev console by pressing F12 key.
(4) Run command " document.getElementsByTagName('span').item(1).style.cssText "
What is the expected output?
"width: 42.5%;"
Period should be displayed as a decimal separator in the value of style attribute.
What do you see instead?
" width: 42,5%; "
Comma is displayed as a decimal separator in the value of style attribute.
Note:-
1) Issue happens only on Mac platform.
2) Issue happens only for fr_FR & de_DE locales and does not happen for the default en_US.
,
Jun 15 2016
,
Jun 18 2016
Are CSS style attributes supposed to be localized? It looks like we're doing that, at least for some languages.
,
Jun 19 2016
|
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by gmanikpure@chromium.org
, Jun 15 2016