Use the containing block to compute the pagination gap when the container is inline.
authorzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 May 2018 21:15:09 +0000 (21:15 +0000)
committerzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 May 2018 21:15:09 +0000 (21:15 +0000)
commit7d43e1f0d7839cf2cad4eaa672fb46229c014d7b
tree3d3db3e4d9afa74155e9b1ace84bf153ac8a1b6b
parentba37dd639a5c70eb61c52e76ad73e2ff004805e6
Use the containing block to compute the pagination gap when the container is inline.
https://bugs.webkit.org/show_bug.cgi?id=184724
<rdar://problem/39521800>

Reviewed by Simon Fraser.

Source/WebCore:

Test: fast/overflow/page-overflow-with-inline-body-crash.html

* page/FrameView.cpp:
(WebCore::FrameView::applyPaginationToViewport):

LayoutTests:

* fast/overflow/page-overflow-with-inline-body-crash-expected.txt: Added.
* fast/overflow/page-overflow-with-inline-body-crash.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@231379 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/overflow/page-overflow-with-inline-body-crash-expected.txt [new file with mode: 0644]
LayoutTests/fast/overflow/page-overflow-with-inline-body-crash.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/page/FrameView.cpp