[Webkit-unassigned] [Bug 30341] New: Make float decimal formatting of CSS values consistent
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Oct 13 14:42:02 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=30341
Summary: Make float decimal formatting of CSS values consistent
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: evan at chromium.org
CC: ian at hixie.ch
When JS reads a float value from CSS, it gets it back as a string.
As the following console session shows, we format long floats to six digits.
This should be checked against other browsers, unified, and spec'd.
> document.foobar = 1/9;
0.1111111111111111
> document.foobar
0.1111111111111111
> var x = document.getElementById('header')
undefined
> x
<div id="header">
> x.style.opacity = 1/9;
0.1111111111111111
> x.style.opacity
0.111111
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list