[LFC][Floating] Use displayBox.rectWithMargin().bottom instead of displayBox.bottom...
authorzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 2 Aug 2018 20:07:43 +0000 (20:07 +0000)
committerzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 2 Aug 2018 20:07:43 +0000 (20:07 +0000)
commit1279aa86fc944e59c4b5cf1b86fb0ab7e8b30ea4
treef308b50619e3020b2eba460de95354decadeb7fe
parentb9b7431a5312165f86abd7d70920b59ddb89b0bd
[LFC][Floating] Use displayBox.rectWithMargin().bottom instead of displayBox.bottom() to where applicable.
https://bugs.webkit.org/show_bug.cgi?id=188274

Reviewed by Antti Koivisto.

Float placement uses the margin box.

* layout/FloatingContext.cpp:
(WebCore::Layout::FloatingPair::bottom const):
(WebCore::Layout::Iterator::operator++):
(WebCore::Layout::Iterator::set):

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