New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 620380 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 613527
Owner: ----
Closed: Jun 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug

Blocking:
issue chromedriver:1383



Sign in to add a comment

Value of 'style' attribute shows comma as a decimal separator rather than a period

Project Member Reported by gmanikpure@chromium.org, Jun 15 2016

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.

 
Labels: OS-Mac
testPage.html
95 bytes View Download
Components: Blink>CSS
Are CSS style attributes supposed to be localized?  It looks like we're doing that, at least for some languages.
Mergedinto: 613527
Status: Duplicate (was: Untriaged)

Sign in to add a comment