Bug 36485 - Percent values in styles and french localisation
Summary: Percent values in styles and french localisation
Status: RESOLVED DUPLICATE of bug 18994
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore JavaScript (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL: http://code.google.com/p/chromium/iss...
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-23 03:29 PDT by Vincent Alquier
Modified: 2010-03-24 05:50 PDT (History)
1 user (show)

See Also:


Attachments
bug.html: to easily reproduce the bug (1.16 KB, text/html)
2010-03-23 03:29 PDT, Vincent Alquier
no flags Details
the bug in epiphany-webkit (18.58 KB, image/png)
2010-03-23 03:30 PDT, Vincent Alquier
no flags Details
the bug in Chromium (18.92 KB, image/png)
2010-03-23 03:31 PDT, Vincent Alquier
no flags Details
the correct rendering (24.92 KB, image/png)
2010-03-23 03:31 PDT, Vincent Alquier
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Alquier 2010-03-23 03:29:15 PDT
Created attachment 51406 [details]
bug.html: to easily reproduce the bug

Bug found in french localisation of Chrome, Chromium and Epiphany-webkit
Works fine in english version of these browsers
Works fine in Linux Firefox
OS + version: Debian unstable
CPU architecture (32-bit / 64-bit): both
Window manager: Gnome
URLs (if relevant): attached bug.html

What steps will reproduce the problem?
1. open the attached bug.html file in english localized chromium browser : it works 
fine
2. open it with a french localized chromium and you won't get the same 
result


What happens instead?

When manipulating styles in javascript :
Percent values in styles are localized by webkit (14.29% => 14,29%) so 
you can't correctly convert them to float to manipulate them.
Comment 1 Vincent Alquier 2010-03-23 03:30:11 PDT
Created attachment 51407 [details]
the bug in epiphany-webkit
Comment 2 Vincent Alquier 2010-03-23 03:31:19 PDT
Created attachment 51408 [details]
the bug in Chromium
Comment 3 Vincent Alquier 2010-03-23 03:31:49 PDT
Created attachment 51409 [details]
the correct rendering
Comment 4 Vincent Alquier 2010-03-24 05:50:33 PDT

*** This bug has been marked as a duplicate of bug 18994 ***