<?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>24657</bug_id>
          
          <creation_ts>2009-03-17 16:13:30 -0700</creation_ts>
          <short_desc>Chromium fails SVG image-small-width-height layout test</short_desc>
          <delta_ts>2009-03-23 11:54:46 -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>SVG</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Glen Murphy">glen</reporter>
          <assigned_to name="Glen Murphy">glen</assigned_to>
          <cc>brettw</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>114123</commentid>
    <comment_count>0</comment_count>
    <who name="Glen Murphy">glen</who>
    <bug_when>2009-03-17 16:13:30 -0700</bug_when>
    <thetext>Skia fails to render the SVG image-small-width-height layout test correctly because we perform an unnecessary IntRect conversion when calling paintSkBitmap in ImageSkia.cpp.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114124</commentid>
    <comment_count>1</comment_count>
      <attachid>28707</attachid>
    <who name="Glen Murphy">glen</who>
    <bug_when>2009-03-17 16:16:31 -0700</bug_when>
    <thetext>Created attachment 28707
ImageSkia.cpp change

Updates ImageSkia.cpp to stop the unnecessary conversion to IntRect in our calls to paintSkBitmap.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114805</commentid>
    <comment_count>2</comment_count>
    <who name="Darin Fisher (:fishd, Google)">fishd</who>
    <bug_when>2009-03-23 11:35:15 -0700</bug_when>
    <thetext>Looks good to me, but I&apos;m not expert on this code.  It would be good to get a &quot;LGTM&quot; from Brett.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114811</commentid>
    <comment_count>3</comment_count>
      <attachid>28707</attachid>
    <who name="Darin Fisher (:fishd, Google)">fishd</who>
    <bug_when>2009-03-23 11:44:49 -0700</bug_when>
    <thetext>Comment on attachment 28707
ImageSkia.cpp change

Brett gave verbal LGTM.  r=me

Next time, please be sure to include a link to this bug in the ChangeLog entry.  Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114816</commentid>
    <comment_count>4</comment_count>
    <who name="Darin Fisher (:fishd, Google)">fishd</who>
    <bug_when>2009-03-23 11:54:46 -0700</bug_when>
    <thetext>Landed as:  http://trac.webkit.org/changeset/41913</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>28707</attachid>
            <date>2009-03-17 16:16:31 -0700</date>
            <delta_ts>2009-03-23 11:44:49 -0700</delta_ts>
            <desc>ImageSkia.cpp change</desc>
            <filename>ImageSkia.patch</filename>
            <type>text/plain</type>
            <size>1504</size>
            <attacher name="Glen Murphy">glen</attacher>
            
              <data encoding="base64">SW5kZXg6IENoYW5nZUxvZw0KPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0KLS0tIENoYW5nZUxvZwkocmV2aXNpb24gNDE3
OTApCisrKyBDaGFuZ2VMb2cJKHdvcmtpbmcgY29weSkKQEAgLTEsMyArMSwxMyBAQAorMjAwOS0w
My0xNyAgR2xlbiBNdXJwaHkgIDxnbGVuQGNocm9taXVtLm9yZz4KKworICAgICAgICBSZXZpZXdl
ZCBieSBOT0JPRFkgKE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AgICAgICAgICAgICAgICAgIG5vcm1E
c3RSZWN0LAogICAgICAgICAgICAgICAgICAgV2ViQ29yZUNvbXBvc2l0ZVRvU2tpYUNvbXBvc2l0
ZShjb21wb3NpdGVPcCkpOwogfQogCkBAIC00NDcsNyArNDQ3LDcgQEAgdm9pZCBCaXRtYXBJbWFn
ZVNpbmdsZUZyYW1lU2tpYTo6ZHJhdyhHcgogICAgIHBhaW50U2tCaXRtYXAoY3R4dC0+cGxhdGZv
cm1Db250ZXh0KCksCiAgICAgICAgICAgICAgICAgICBtX25hdGl2ZUltYWdlLAogICAgICAgICAg
ICAgICAgICAgZW5jbG9zaW5nSW50UmVjdChub3JtU3JjUmVjdCksCi0gICAgICAgICAgICAgICAg
ICBlbmNsb3NpbmdJbnRSZWN0KG5vcm1Ec3RSZWN0KSwKKyAgICAgICAgICAgICAgICAgIG5vcm1E
c3RSZWN0LAogICAgICAgICAgICAgICAgICAgV2ViQ29yZUNvbXBvc2l0ZVRvU2tpYUNvbXBvc2l0
ZShjb21wb3NpdGVPcCkpOwogfQogCg==
</data>
<flag name="review"
          id="14144"
          type_id="1"
          status="+"
          setter="fishd"
    />
          </attachment>
      

    </bug>

</bugzilla>