RESOLVED FIXED 14333
Display small/large image file sizes with better precision
https://bugs.webkit.org/show_bug.cgi?id=14333
Summary Display small/large image file sizes with better precision
Glan Thomas
Reported 2007-06-23 04:20:42 PDT
When viewing a 100KB+ image in the Web Inspector the file size is displayed in exponent format. For example a 320KB image is shown as 3.2e+2KB
Attachments
Patch (1.25 KB, patch)
2007-07-12 23:49 PDT, Matt Lilek
dev+webkit: review-
Matt Lilek
Comment 1 2007-07-12 23:49:58 PDT
Created attachment 15497 [details] Patch Just use toFixed since an image that's exactly .00 is rare and it's not the end of the world if we show trailing zeros.
Alexey Proskuryakov
Comment 2 2007-07-13 01:18:58 PDT
IMO it would be even better if tiny sizes (like 119 bytes) could be displayed properly.
Matt Lilek
Comment 3 2007-07-13 16:40:49 PDT
Comment on attachment 15497 [details] Patch I'm gonna rework this
Matt Lilek
Comment 4 2007-12-26 21:05:31 PST
This bug has actually been fixed, retitling to reflect the suggestion in comment #2.
Adam Roben (:aroben)
Comment 5 2008-01-29 11:15:27 PST
Timothy Hatcher
Comment 6 2008-04-10 16:59:04 PDT
Landed a fix in r31789.
Note You need to log in before you can comment on or make changes to this bug.