[LFC] Box::nextInFlowOrFloatingSibling() should always return sibling floats as well.
authorzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 26 Jan 2019 12:44:17 +0000 (12:44 +0000)
committerzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 26 Jan 2019 12:44:17 +0000 (12:44 +0000)
commit42743eecc4b59c879c8bd1b2fcbfc0498db86995
tree1f01390648708e0bd5958fe216772b59ce152c03
parent1c54b0ead0e4dff3714ebcae8ee51b5b547c2889
[LFC] Box::nextInFlowOrFloatingSibling() should always return sibling floats as well.
https://bugs.webkit.org/show_bug.cgi?id=193855

Reviewed by Antti Koivisto.

Use iterative algorithm to find next/previous siblings.

* layout/layouttree/LayoutBox.cpp:
(WebCore::Layout::Box::nextInFlowOrFloatingSibling const):

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