[LFC][BFC] Do not try to access containing block's height during descendant height...
authorzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 26 Jul 2018 14:25:51 +0000 (14:25 +0000)
committerzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 26 Jul 2018 14:25:51 +0000 (14:25 +0000)
commit9802fe384592aa4282e2ff6f8a01f3dfb24c62c8
tree32fe524ac0a81e941838f28474b1603e2a699782
parentf4e7a8d6e9520fa4021ce1235ebe28e722ac9ed7
[LFC][BFC] Do not try to access containing block's height during descendant height computation
https://bugs.webkit.org/show_bug.cgi?id=187970

Reviewed by Antti Koivisto.

Mostly becasue in BFC, we compute the descendents' height first so the containing block's height is probably not computed yet.

* layout/FormattingContextGeometry.cpp:
(WebCore::Layout::FormattingContext::Geometry::floatingNonReplacedHeightAndMargin):
(WebCore::Layout::FormattingContext::Geometry::inlineReplacedHeightAndMargin):
(WebCore::Layout::FormattingContext::Geometry::inlineReplacedWidthAndMargin):

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