Bug 23629
Summary: | Caret repainting needs to do container-relative repaints | ||
---|---|---|---|
Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> |
Component: | Layout and Rendering | Assignee: | Simon Fraser (smfr) <simon.fraser> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | anilsson, mifenton, rwlbuis, simon.fraser |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Mac | ||
OS: | OS X 10.5 | ||
Bug Depends on: | |||
Bug Blocks: | 23359 |
Simon Fraser (smfr)
SelectionController::invalidateCaretRect() does
view->repaintViewRectangle(caretRepaintRect(), false);
which is not going to work correctly with container-relative repainting.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Arvid Nilsson
I think we just hit this:
void RenderLayerCompositor::recursiveRepaintLayerRect(RenderLayer* layer, const
IntRect& rect)
{
// FIXME: This method does not work correctly with transforms.
if (layer->isComposited() &&
!layer->backing()->paintsIntoCompositedAncestor())
layer->setBackingNeedsRepaintInRect(rect);
...
}
(RIM PR 216154)
Simon Fraser (smfr)
Bug 94985 is related.
Arvid Nilsson
(In reply to comment #2)
> Bug 94985 is related.
Thank you, that one looks more specific, it's exactly what we have problem with right now.
Simon Fraser (smfr)
Bug 103955 fixed this.
*** This bug has been marked as a duplicate of bug 103955 ***