DescriptionMerge 139282
> Make caret repainting container-aware
> https://bugs.webkit.org/show_bug.cgi?id=103955
>
> Patch by Tien-Ren Chen <trchen@chromium.org> on 2013-01-09
> Reviewed by Simon Fraser.
>
> Source/WebCore:
>
> Only invalidate local rects on the caret's repaint container,
> instead of invalidating an absolute rect on the whole view.
>
> Test: fast/repaint/caret-with-transformation.html
>
> * editing/FrameSelection.cpp:
> (WebCore::caretRendersInsideNode):
> (WebCore::caretRenderer):
> (WebCore::FrameSelection::caretRenderer):
> (WebCore::DragCaretController::caretRenderer):
> (WebCore::repaintCaretForLocalRect):
> (WebCore::FrameSelection::recomputeCaretRect):
> (WebCore::CaretBase::invalidateCaretRect):
> (WebCore::FrameSelection::focusedOrActiveStateChanged):
> * editing/FrameSelection.h:
> * rendering/RenderView.cpp:
> (WebCore::RenderView::repaintSelection):
> * rendering/RenderView.h:
>
> LayoutTests:
>
> The caret repaint padding has been removed. Needs rebaseline.
> Added test that carets should be repainted correctly on a transformed element.
>
> * fast/repaint/caret-with-transformation.html: Added.
> * platform/chromium/TestExpectations:
> * platform/mac/TestExpectations:
TBR=commit-queue@webkit.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=139577
Patch Set 1 #
Messages
Total messages: 1 (0 generated)
|