Composited layer that painted into composited ancestor is not repainted after moving
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 8 Oct 2013 15:56:19 +0000 (15:56 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 8 Oct 2013 15:56:19 +0000 (15:56 +0000)
commit8c0a1f8f817cb3591c7d71494ca0a7a4bb638151
tree874e229c3f4768704e188124011b315150cb4742
parent70c987c130e71673123365417141e9bf4331b3b4
Composited layer that painted into composited ancestor is not repainted after moving
https://bugs.webkit.org/show_bug.cgi?id=114655

Patch by Hurnjoo Lee <hurnjoo.lee@samsung.com> on 2013-10-08
Reviewed by Simon Fraser.

Source/WebCore:

Test: compositing/repaint/absolute-painted-into-composited-ancestor.html

Composited layers are currently skipping repainting after layout,
if the repaint status is not NeedsFullRepaint. However, in case layers
were painted into composited ancestor, they need to repaint.

* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::shouldRepaintAfterLayout):

LayoutTests:

Add a text repaint test to check the repainting of composited layer
that painted into composited ancestor.

* compositing/repaint/absolute-painted-into-composited-ancestor-expected.txt: Added.
* compositing/repaint/absolute-painted-into-composited-ancestor.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157108 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/compositing/repaint/absolute-painted-into-composited-ancestor-expected.txt [new file with mode: 0644]
LayoutTests/compositing/repaint/absolute-painted-into-composited-ancestor.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderLayer.cpp