Multicol: RenderMultiColumnFlow should not inherit the flow state
authorzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 17 Jan 2018 22:37:23 +0000 (22:37 +0000)
committerzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 17 Jan 2018 22:37:23 +0000 (22:37 +0000)
commit21c9f4eb284aac2834a1b0b7abe43feb2f99a97c
tree13ce82e5f1c5ef65d7997129c2d530e03b405139
parent55f6683a9a5e0144114d7a6ae2335f17ee754416
Multicol: RenderMultiColumnFlow should not inherit the flow state
https://bugs.webkit.org/show_bug.cgi?id=181762
<rdar://problem/35448565>

Reviewed by Simon Fraser.

Source/WebCore:

Do not compute the inherited flow state flag for RenderMultiColumnFlow.
It is (by definition) always inside a fragmented flow.

Test: fast/multicol/crash-when-out-of-flow-positioned-becomes-in-flow.html

* rendering/RenderObject.cpp:
(WebCore::RenderObject::computedFragmentedFlowState):

LayoutTests:

* fast/multicol/crash-when-out-of-flow-positioned-becomes-in-flow-expected.txt: Added.
* fast/multicol/crash-when-out-of-flow-positioned-becomes-in-flow.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@227087 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/multicol/crash-when-out-of-flow-positioned-becomes-in-flow-expected.txt [new file with mode: 0644]
LayoutTests/fast/multicol/crash-when-out-of-flow-positioned-becomes-in-flow.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderObject.cpp