<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>14333</bug_id>
          
          <creation_ts>2007-06-23 04:20:42 -0700</creation_ts>
          <short_desc>Display small/large image file sizes with better precision</short_desc>
          <delta_ts>2008-04-10 16:59:04 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Inspector (Deprecated)</component>
          <version>523.x (Safari 3)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P3</priority>
          <bug_severity>Enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Glan Thomas">glan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>dev+webkit</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>6611</commentid>
    <comment_count>0</comment_count>
    <who name="Glan Thomas">glan</who>
    <bug_when>2007-06-23 04:20:42 -0700</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4912</commentid>
    <comment_count>1</comment_count>
      <attachid>15497</attachid>
    <who name="Matt Lilek">dev+webkit</who>
    <bug_when>2007-07-12 23:49:58 -0700</bug_when>
    <thetext>Created attachment 15497
Patch

Just use toFixed since an image that&apos;s exactly .00 is rare and it&apos;s not the end of the world if we show trailing zeros.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4909</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2007-07-13 01:18:58 -0700</bug_when>
    <thetext>IMO it would be even better if tiny sizes (like 119 bytes) could be displayed properly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4853</commentid>
    <comment_count>3</comment_count>
      <attachid>15497</attachid>
    <who name="Matt Lilek">dev+webkit</who>
    <bug_when>2007-07-13 16:40:49 -0700</bug_when>
    <thetext>Comment on attachment 15497
Patch

I&apos;m gonna rework this</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65327</commentid>
    <comment_count>4</comment_count>
    <who name="Matt Lilek">dev+webkit</who>
    <bug_when>2007-12-26 21:05:31 -0800</bug_when>
    <thetext>This bug has actually been fixed, retitling to reflect the suggestion in comment #2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68674</commentid>
    <comment_count>5</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2008-01-29 11:15:27 -0800</bug_when>
    <thetext>&lt;rdar://problem/5712932&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77210</commentid>
    <comment_count>6</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2008-04-10 16:59:04 -0700</bug_when>
    <thetext>Landed a fix in r31789.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>15497</attachid>
            <date>2007-07-12 23:49:58 -0700</date>
            <delta_ts>2007-07-13 16:40:49 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>Bug14333r</filename>
            <type>text/plain</type>
            <size>1278</size>
            <attacher name="Matt Lilek">dev+webkit</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS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YWdlUHJl
dmlld0VsZW1lbnQubmF0dXJhbFdpZHRoICsgIiBcdTAwRDcgIiArIHRoaXMuaW1hZ2VQcmV2aWV3
RWxlbWVudC5oZWlnaHR9LAotICAgICAgICAgICAgICAgIHtuYW1lOiAiRmlsZSBzaXplIiwgdmFs
dWU6ICh0aGlzLnJlc291cmNlLmNvbnRlbnRMZW5ndGggLyAxMDI0KS50b1ByZWNpc2lvbigyKSAr
ICJLQiJ9LAorICAgICAgICAgICAgICAgIHtuYW1lOiAiRmlsZSBzaXplIiwgdmFsdWU6ICh0aGlz
LnJlc291cmNlLmNvbnRlbnRMZW5ndGggLyAxMDI0KS50b0ZpeGVkKDIpICsgIktCIn0sCiAgICAg
ICAgICAgICAgICAge25hbWU6ICJNSU1FIHR5cGUiLCB2YWx1ZTogdGhpcy5yZXNvdXJjZS5taW1l
VHlwZX0KICAgICAgICAgICAgIF07CiAK
</data>
<flag name="review"
          id="6440"
          type_id="1"
          status="-"
          setter="dev+webkit"
    />
          </attachment>
      

    </bug>

</bugzilla>