[LFC][Floating] Align new floating with the bottom of the existing floatings.
authorzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 1 Aug 2018 20:52:04 +0000 (20:52 +0000)
committerzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 1 Aug 2018 20:52:04 +0000 (20:52 +0000)
commita97bb3989ba10fd5207cd2ef4aed58966fced9a4
tree8d4ccc26e108f62a296208467b53191282cff5a8
parente6972aa69c28ec70ea6b8cc3f8094f1fc7946a9b
[LFC][Floating] Align new floating with the bottom of the existing floatings.
https://bugs.webkit.org/show_bug.cgi?id=188213

Reviewed by Antti Koivisto.

When the incoming floating does not fit at all, align its top with the bottom of the existing floatings.

* layout/FloatingContext.cpp:
(WebCore::Layout::FloatingContext::floatingPosition const):
(WebCore::Layout::FloatingPair::bottom const):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@234470 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/layout/FloatingContext.cpp