<?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>23629</bug_id>
          
          <creation_ts>2009-01-29 15:36:59 -0800</creation_ts>
          <short_desc>Caret repainting needs to do container-relative repaints</short_desc>
          <delta_ts>2013-01-30 12:56:51 -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>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>103955</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>23359</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Simon Fraser (smfr)">simon.fraser</reporter>
          <assigned_to name="Simon Fraser (smfr)">simon.fraser</assigned_to>
          <cc>anilsson</cc>
    
    <cc>mifenton</cc>
    
    <cc>rwlbuis</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>107605</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2009-01-29 15:36:59 -0800</bug_when>
    <thetext>SelectionController::invalidateCaretRect() does

            view-&gt;repaintViewRectangle(caretRepaintRect(), false);
which is not going to work correctly with container-relative repainting.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>745715</commentid>
    <comment_count>1</comment_count>
    <who name="Arvid Nilsson">anilsson</who>
    <bug_when>2012-10-18 16:27:07 -0700</bug_when>
    <thetext>I think we just hit this:

void RenderLayerCompositor::recursiveRepaintLayerRect(RenderLayer* layer, const
IntRect&amp; rect)
{
    // FIXME: This method does not work correctly with transforms.
    if (layer-&gt;isComposited() &amp;&amp;
!layer-&gt;backing()-&gt;paintsIntoCompositedAncestor())
        layer-&gt;setBackingNeedsRepaintInRect(rect);

    ...
}

(RIM PR 216154)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>745717</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2012-10-18 16:30:50 -0700</bug_when>
    <thetext>Bug 94985 is related.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>745721</commentid>
    <comment_count>3</comment_count>
    <who name="Arvid Nilsson">anilsson</who>
    <bug_when>2012-10-18 16:33:01 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; Bug 94985 is related.

Thank you, that one looks more specific, it&apos;s exactly what we have problem with right now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>820442</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2013-01-30 12:56:51 -0800</bug_when>
    <thetext>Bug 103955 fixed this.

*** This bug has been marked as a duplicate of bug 103955 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>