https://bugs.webkit.org/show_bug.cgi?id=66254
Source/WebCore: Make region invalidation and repainting work properly. We do this by making RenderFlowThreads into repaint containers and then issuing new repaints in the regions that contain the invalidated flow thread content. Reviewed by Simon Fraser. Added new tests in fast/repaint. * rendering/RenderFlowThread.cpp: (WebCore::RenderFlowThread::repaintRectangleInRegions): * rendering/RenderFlowThread.h: * rendering/RenderObject.cpp: (WebCore::RenderObject::enclosingRenderFlowThread): (WebCore::RenderObject::containerForRepaint): (WebCore::RenderObject::repaintUsingContainer): * rendering/RenderObject.h: * rendering/RenderView.cpp: (WebCore::RenderView::RenderView): (WebCore::RenderView::renderFlowThreadWithName): * rendering/RenderView.h: (WebCore::RenderView::hasRenderFlowThreads): LayoutTests: Make regions repaint properly. Added new repaint tests. Reviewed by Simon Fraser. * fast/repaint/japanese-rl-selection-repaint-in-regions.html: Added. * fast/repaint/line-flow-with-floats-in-regions.html: Added. * fast/repaint/overflow-flipped-writing-mode-block-in-regions.html: Added. * platform/mac/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png: Added. * platform/mac/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt: Added. * platform/mac/fast/repaint/line-flow-with-floats-in-regions-expected.png: Added. * platform/mac/fast/repaint/line-flow-with-floats-in-regions-expected.txt: Added. * platform/mac/fast/repaint/overflow-flipped-writing-mode-block-in-regions-expected.png: Added. * platform/mac/fast/repaint/overflow-flipped-writing-mode-block-in-regions-expected.txt: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@93144 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment