Cleanup RenderLayer::shouldBeNormalFlowOnly
authorzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 15 Sep 2016 15:42:47 +0000 (15:42 +0000)
committerzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 15 Sep 2016 15:42:47 +0000 (15:42 +0000)
commit78960b3755fb04cc6c7e6a1275150bfd2fba238d
tree896f2b6e57430dd400533978a31dc7d6781b3788
parent8b57daf3aff7c003b2c62353933b71ea009a98f4
Cleanup RenderLayer::shouldBeNormalFlowOnly
https://bugs.webkit.org/show_bug.cgi?id=161981

Reviewed by Simon Fraser.

Source/WebCore:

This patch changes the logic of figuring about if a particular layer is normal flow only by simply checking
if the layer creates a stacking context. If it does, we assume that it can't be a normal flow layer anymore.
This patch slightly changes behaviour by making layers with isolation and reflection to be non normal flow layers anymore.

Covered by existing testcases.

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

LayoutTests:

Rebaselining.

* fast/table/overflow-table-collapsed-borders-section-self-painting-layer-painting-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@205970 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/table/overflow-table-collapsed-borders-section-self-painting-layer-painting-expected.txt
LayoutTests/platform/ios-simulator/media/audio-repaint-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderLayer.cpp