<?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>8268</bug_id>
          
          <creation_ts>2006-04-08 15:46:03 -0700</creation_ts>
          <short_desc>REGRESSION (r13639): Caret leaves a small footprint in the focus ring as it moves</short_desc>
          <delta_ts>2007-12-07 11:26:35 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Layout and Rendering</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>HasReduction, InRadar, 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="Nobody">webkit-unassigned</assigned_to>
          <cc>alice.barraclough</cc>
    
    <cc>darin</cc>
    
    <cc>ddkilzer</cc>
    
    <cc>hyatt</cc>
    
    <cc>ian</cc>
    
    <cc>koivisto</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>38801</commentid>
    <comment_count>0</comment_count>
    <who name="Justin Garcia">justin.garcia</who>
    <bug_when>2006-04-08 15:46:03 -0700</bug_when>
    <thetext>Attaching a testcase</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38802</commentid>
    <comment_count>1</comment_count>
      <attachid>7586</attachid>
    <who name="Justin Garcia">justin.garcia</who>
    <bug_when>2006-04-08 15:47:01 -0700</bug_when>
    <thetext>Created attachment 7586
testcase</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38805</commentid>
    <comment_count>2</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2006-04-08 17:04:27 -0700</bug_when>
    <thetext>Dave, this is what I was worried about re-introducing. I guess it happened!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38882</commentid>
    <comment_count>3</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2006-04-10 11:10:58 -0700</bug_when>
    <thetext>I have a good way of fixing this that will handle overflow too (the old fix for this didn&apos;t).
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38892</commentid>
    <comment_count>4</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2006-04-10 13:38:40 -0700</bug_when>
    <thetext>The last outline-related checkin before revision 13639 is the one darin made to deal with textfield focus rings not matching.  My code had not yet landed, so this is not related to my coalesced update changes.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38963</commentid>
    <comment_count>5</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2006-04-11 09:25:54 -0700</bug_when>
    <thetext>I&apos;ve verified that the focus-ring drawing functions are called when the caret blinks, but nothing is being drawn. Continuing to investigate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38964</commentid>
    <comment_count>6</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2006-04-11 09:41:34 -0700</bug_when>
    <thetext>There&apos;s some kind of rounding problem here. Setting an outline-offset of either 1px or -1px makes the bug go away.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43114</commentid>
    <comment_count>7</comment_count>
    <who name="Alice Liu">alice.barraclough</who>
    <bug_when>2006-05-21 22:33:09 -0700</bug_when>
    <thetext>&lt;rdar://problem/4556558&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31024</commentid>
    <comment_count>8</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2007-01-29 09:09:08 -0800</bug_when>
    <thetext>Waiting on a Core Graphics fix for focus ring drawing before revisiting this problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22605</commentid>
    <comment_count>9</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2007-02-18 13:47:28 -0800</bug_when>
    <thetext>It seems that if the clip overlaps inside edge of the focus ring exactly one pixel deep the focus ring does not get drawn. This particular bug can be easily worked around in repaintRectForCaret (in SelectionController.cpp) by doing caret.inflate(2) instead of inflate(1) or removing the inflate line. First option increases overlap and makes the focus ring paint correctly, second one removes overlap. That just hides the actual problem though.

I think this is most likely the same problem as bug 11965.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63345</commentid>
    <comment_count>10</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-12-05 08:44:51 -0800</bug_when>
    <thetext>I can still reproduce this bug with the attached test case (Attachment #7586), but not with this test case:

data:text/html,&lt;input type=text&gt;

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63346</commentid>
    <comment_count>11</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-12-05 08:45:27 -0800</bug_when>
    <thetext>(In reply to comment #10)
&gt; I can still reproduce this bug with the attached test case (Attachment #7586 [edit]),
&gt; but not with this test case:
&gt; 
&gt; data:text/html,&lt;input type=text&gt;

Using a local debug build of WebKit r28434 with Safari 3.0.4 (523.12) on Mac OS X 10.4.11 (8S165).

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63605</commentid>
    <comment_count>12</comment_count>
    <who name="">mitz</who>
    <bug_when>2007-12-07 11:26:35 -0800</bug_when>
    <thetext>Fixed in &lt;http://trac.webkit.org/projects/webkit/changeset/28523&gt;.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>7586</attachid>
            <date>2006-04-08 15:47:01 -0700</date>
            <delta_ts>2006-04-08 15:47:01 -0700</delta_ts>
            <desc>testcase</desc>
            <filename>8268.html</filename>
            <type>text/html</type>
            <size>205</size>
            <attacher name="Justin Garcia">justin.garcia</attacher>
            
              <data encoding="base64">PHA+Q2xpY2sgaW5zaWRlIHRoZSBlZGl0YWJsZSByZWdpb24gYmVsb3cgYW5kIG1vdmUgdGhlIGNh
cmV0IGFyb3VuZCB3aXRoIHRoZSBhcnJvdyBrZXlzLiAgVGhlIGNhcmV0IGxlYXZlcyBhIHdoaXRl
IGZvb3RwcmludCBpbiB0aGUgZm9jdXMgcmluZyBhcyBpdCBtb3Zlcy48L3A+IAo8ZGl2IGNvbnRl
bnRlZGl0YWJsZT0idHJ1ZSI+Q2xpY2sgaGVyZTwvZGl2Pg==
</data>

          </attachment>
      

    </bug>

</bugzilla>