REGRESSION(r214712): Infinite recursion in RenderTable::layout in paginated mode
authorzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Jun 2017 21:55:38 +0000 (21:55 +0000)
committerzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Jun 2017 21:55:38 +0000 (21:55 +0000)
commit73563ba79c217947598a63dcd8f44ae43e87b2c3
tree052de5ce4eed41a66ea28db8e37bc469d4cff4ad
parent4975ed8335f273a78ea5b6e3b335acb8eaaa8175
REGRESSION(r214712): Infinite recursion in RenderTable::layout in paginated mode
https://bugs.webkit.org/show_bug.cgi?id=173731
<rdar://problem/32237775>

Reviewed by Antti Koivisto.

Source/WebCore:

We should just skip bottom captions to check if section is moved, since they don't affect
the section position (bottom <caption> is preceded by <tfoot>).

Test: fast/table/caption-bottom-with-pagination.html

* rendering/RenderTable.cpp:
(WebCore::RenderTable::layout):

LayoutTests:

* fast/table/caption-bottom-with-pagination-expected.txt: Added.
* fast/table/caption-bottom-with-pagination.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@218721 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/table/caption-bottom-with-pagination-expected.txt [new file with mode: 0644]
LayoutTests/fast/table/caption-bottom-with-pagination.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderTable.cpp