<?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>8715</bug_id>
          
          <creation_ts>2006-05-02 20:31:19 -0700</creation_ts>
          <short_desc>REGRESSION: Caret to the right of an image is a big black rectangle.</short_desc>
          <delta_ts>2006-05-12 09:40:41 -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>HTML Editing</component>
          <version>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>EasyFix, Regression</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Justin Garcia">justin.garcia</reporter>
          <assigned_to name="Darin Adler">darin</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>40928</commentid>
    <comment_count>0</comment_count>
    <who name="Justin Garcia">justin.garcia</who>
    <bug_when>2006-05-02 20:31:19 -0700</bug_when>
    <thetext>See the testcase</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40929</commentid>
    <comment_count>1</comment_count>
      <attachid>8089</attachid>
    <who name="Justin Garcia">justin.garcia</who>
    <bug_when>2006-05-02 20:31:46 -0700</bug_when>
    <thetext>Created attachment 8089
testcase</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41611</commentid>
    <comment_count>2</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2006-05-09 09:07:10 -0700</bug_when>
    <thetext>The bug is in RenderBox::caretRect.

There&apos;s a line of code that says:

    rect.setWidth(m_width - caretWidth)

which should instead say:

    rect.move(IntSize(m_width - caretWidth, 0))</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41814</commentid>
    <comment_count>3</comment_count>
      <attachid>8197</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2006-05-09 22:54:06 -0700</bug_when>
    <thetext>Created attachment 8197
patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42105</commentid>
    <comment_count>4</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2006-05-12 09:40:41 -0700</bug_when>
    <thetext>Committed revision 14323.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>8089</attachid>
            <date>2006-05-02 20:31:46 -0700</date>
            <delta_ts>2006-05-02 20:31:46 -0700</delta_ts>
            <desc>testcase</desc>
            <filename>caret-image.html</filename>
            <type>text/html</type>
            <size>303</size>
            <attacher name="Justin Garcia">justin.garcia</attacher>
            
              <data encoding="base64">PGRpdiBpZD0idGVzdCIgY29udGVudGVkaXRhYmxlPSJ0cnVlIj5mcmVlPGltZyBzcmM9Imh0dHA6
Ly93d3cuZ29vZ2xlLmNvbS9pbnRsL2VuL2ltYWdlcy9sb2dvLmdpZiI+bHVuY2g8L2Rpdj4KCjxz
Y3JpcHQ+CnZhciBzID0gd2luZG93LmdldFNlbGVjdGlvbigpOwp2YXIgZSA9IGRvY3VtZW50Lmdl
dEVsZW1lbnRCeUlkKCJ0ZXN0Iik7CgpzLnNldFBvc2l0aW9uKGUsIDApOwpzLm1vZGlmeSgibW92
ZSIsICJmb3J3YXJkIiwgIndvcmQiKTsKcy5tb2RpZnkoIm1vdmUiLCAiZm9yd2FyZCIsICJjaGFy
YWN0ZXIiKTsKPC9zY3JpcHQ+
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>8197</attachid>
            <date>2006-05-09 22:54:06 -0700</date>
            <delta_ts>2006-05-11 20:19:32 -0700</delta_ts>
            <desc>patch</desc>
            <filename>FatCaretPatch.txt</filename>
            <type>text/plain</type>
            <size>945</size>
            <attacher name="Darin Adler">darin</attacher>
            
              <data encoding="base64">SW5kZXg6IHJlbmRlcmluZy9SZW5kZXJCb3guY3BwCj09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIHJlbmRlcmluZy9S
ZW5kZXJCb3guY3BwCShyZXZpc2lvbiAxNDI3MikKKysrIHJlbmRlcmluZy9SZW5kZXJCb3guY3Bw
CSh3b3JraW5nIGNvcHkpCkBAIC0xNzkxLDcgKzE3OTEsNyBAQAogICAgIGNvbnN0IGludCBjYXJl
dFdpZHRoID0gMTsKICAgICBJbnRSZWN0IHJlY3QoeFBvcygpLCB5UG9zKCksIGNhcmV0V2lkdGgs
IG1faGVpZ2h0KTsKICAgICBpZiAob2Zmc2V0ICE9IDApCi0gICAgICAgIHJlY3Quc2V0V2lkdGgo
bV93aWR0aCAtIGNhcmV0V2lkdGgpOworICAgICAgICByZWN0Lm1vdmUoSW50U2l6ZShtX3dpZHRo
IC0gY2FyZXRXaWR0aCwgMCkpOwogICAgIGlmIChJbmxpbmVCb3gqIGJveCA9IGlubGluZUJveFdy
YXBwZXIoKSkgewogICAgICAgICBSb290SW5saW5lQm94KiByb290Qm94ID0gYm94LT5yb290KCk7
CiAgICAgICAgIGludCB0b3AgPSByb290Qm94LT50b3BPdmVyZmxvdygpOwpAQCAtMTgxNiwxMSAr
MTgxNiwxMSBAQAogICAgIGlmICghY2IgfHwgIWNiLT5hYnNvbHV0ZVBvc2l0aW9uKGNieCwgY2J5
KSkKICAgICAgICAgLy8gTm8gcG9pbnQgcmV0dXJuaW5nIGEgcmVsYXRpdmUgcG9zaXRpb24uCiAg
ICAgICAgIHJldHVybiBJbnRSZWN0KCk7Ci0gICAgcmVjdC5tb3ZlKGNieCwgY2J5KTsKIAogICAg
IGlmIChleHRyYVdpZHRoVG9FbmRPZkxpbmUpCi0gICAgICAgICpleHRyYVdpZHRoVG9FbmRPZkxp
bmUgPSBtX3dpZHRoIC0gcmVjdC5yaWdodCgpOworICAgICAgICAqZXh0cmFXaWR0aFRvRW5kT2ZM
aW5lID0geFBvcygpICsgbV93aWR0aCAtIHJlY3QucmlnaHQoKTsKIAorICAgIHJlY3QubW92ZShj
YngsIGNieSk7CiAgICAgcmV0dXJuIHJlY3Q7CiB9CiAK
</data>
<flag name="review"
          id="2288"
          type_id="1"
          status="+"
          setter="timothy"
    />
          </attachment>
      

    </bug>

</bugzilla>