Summary: | Display small/large image file sizes with better precision | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Glan Thomas <glan> | ||||
Component: | Web Inspector (Deprecated) | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Enhancement | CC: | dev+webkit | ||||
Priority: | P3 | Keywords: | InRadar | ||||
Version: | 523.x (Safari 3) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Attachments: |
|
Description
Glan Thomas
2007-06-23 04:20:42 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.
IMO it would be even better if tiny sizes (like 119 bytes) could be displayed properly. Comment on attachment 15497 [details]
Patch
I'm gonna rework this
This bug has actually been fixed, retitling to reflect the suggestion in comment #2. |