[Webkit-unassigned] [Bug 93445] getComputedStyle for `opacity` loses precision
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Aug 8 10:36:17 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=93445
Alexey Proskuryakov <ap at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|getComputedStyle for |getComputedStyle for
|`opacity` is not the value |`opacity` loses precision
|specified. |
CC| |ap at webkit.org,
| |simon.fraser at apple.com
--- Comment #1 from Alexey Proskuryakov <ap at webkit.org> 2012-08-08 10:36:41 PST ---
> Is it that '9.5' sets the opacity as a (lossy) binary number, which, when returned, is converted to a string?
Yes. As such, this really is the specified value, and no specs have been violated.
But perhaps there is something to do here that would swipe this under the carpet (like switching from float to double?), or something else I'm unaware of. So, keeping the bug open for experts to consider.
--
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