[Webkit-unassigned] [Bug 18994] LANG/LC_ALL influences the result of element.style.opacity

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 16 05:40:21 PDT 2008


------- Comment #10 from hausmann at webkit.org  2008-06-16 05:40 PDT -------
(In reply to comment #5)
> These numbers are formatted with vsnprintf in WebCore::String::format(). Should
> be easy to fix by using vsnprintf_l - but does Linux have this or equivalent
> functionality?

Hmm, as far as I can see the numbers parsed by the lexer of the CSS parser are
formatted with WebCore::charactersToDouble. This function, implemented in
platform/text/String.cpp uses KJS::strtod for the conversion, which is locale
safe. In fact I'm having trouble to reproduce this bug now with trunk.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list