New issue
Advanced search Search tips

Issue 623347 link

Starred by 6 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Jul 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug



Sign in to add a comment

Float values in styles, applied by JS, are seperated by comma and not a period

Reported by duwe...@googlemail.com, Jun 25 2016

Issue description

Chrome Version       : 	51.0.2704.103
Other browsers tested:
  Add OK or FAIL, along with the version, after other browsers where you
have tested this issue:
     Safari: OK
    Firefox: OK
         IE: OK

What steps will reproduce the problem?
(1) Open dev tools
(2) Enter document.body.style.left = "3.2323%"
(3) Inspect body css and you will get 3,2323% at left style

What is the expected result?
CSS should be left: 3.2323%

What happens instead?
CSS is invalid with left property: 3,2323%


I am living in Germany and I assume, that there is some problem applying a float in a string converting it into local string.

 
screen.png
232 KB View Download
Iam on OSX 10.11.4
Components: Platform>DevTools>HTML
Cc: jonathan.garbee@chromium.org
Components: Platform>DevTools
Labels: OS-Mac
Unable to reproduce on 53.0.2783.2 (Official Build) dev (64-bit) on Linux.

Are you able to reproduce this on this issue page?
Labels: Needs-Feedback
Yes, can you please try on Canary and see if the issue still exists for you?

Comment 5 by alph@chromium.org, Jul 16 2016

Status: WontFix (was: Unconfirmed)
Can't repro as well neither with German nor Russian (both use comma as decimal separator) region setting. Closing it.

Comment 6 by mad.go...@gmail.com, Feb 27 2017

I confirm this issue with russian system locale when browser is launched from CLI.

Chrome 56 
Mac OS 10.12.3

Comment 7 by arxan...@gmail.com, Apr 10 2018

I confirm this issue with russian system locale

Use Electron.js ( base Node.js with Chromium )
Mac OS 10.13.2
Hi, I also can confirm that the issue is still there.
I'm having this issue with Electron embedded chromium 59 on MacOS with Russian locale.

For example I'm setting this css rule in stylesheet:

transition-duration: .5s;

And then I read it back from styleSheet.cssRules with js

The rule will look like this:

transition-duration: 0,5s;


Sorry, I didn't realize that the bug is reported for DevTools.
I don't think this issue is DevTools related, I think that the issue with Chromium itself.
I can confirm this on Windows 10 for Chrome Version 70.0.3538.110.

Calculation is used inside Invision Community Software for width of some table columns and thus the tables won't show as comma seperators are used.

Sign in to add a comment