WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
125261
Web Inspector: use only two decimals for opacity in rgba/hsla colors
https://bugs.webkit.org/show_bug.cgi?id=125261
Summary
Web Inspector: use only two decimals for opacity in rgba/hsla colors
Antoine Quint
Reported
2013-12-04 15:28:36 PST
There is no need to serialize colors to use anything more accurate than two decimals for the alpha channel.
Attachments
Patch
(1.65 KB, patch)
2013-12-04 15:30 PST
,
Antoine Quint
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Antoine Quint
Comment 1
2013-12-04 15:30:04 PST
Created
attachment 218465
[details]
Patch
Joseph Pecoraro
Comment 2
2013-12-04 15:45:58 PST
Comment on
attachment 218465
[details]
Patch r=me. I assume you didn't use Number.prototype.toFixed because that doesn't conveniently with non-floats. (e.g. 1.toFixed(2))
Antoine Quint
Comment 3
2013-12-04 15:51:58 PST
(In reply to
comment #2
)
> (From update of
attachment 218465
[details]
) > r=me. I assume you didn't use Number.prototype.toFixed because that doesn't conveniently with non-floats. (e.g. 1.toFixed(2))
That's right, I wanted 1.1 to display as 1.1 and not 1.10.
WebKit Commit Bot
Comment 4
2013-12-04 16:14:30 PST
Comment on
attachment 218465
[details]
Patch Clearing flags on attachment: 218465 Committed
r160142
: <
http://trac.webkit.org/changeset/160142
>
WebKit Commit Bot
Comment 5
2013-12-04 16:14:32 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug