Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Do not let RenderFragmentContainers create new formatting contexts
https://bugs.webkit.org/show_bug.cgi?id=229759 Reviewed by Alan Bujtas. The isRenderFragmentContainer() condition was added in r176957 when the createsNewFormattingContext() function was introduced. Back then it was actually isRenderRegion() which was later renamed. However that was wrongly added to the method because it should have remained in the caller RenderBlockFlow::addOverhangingFloats(). Instead of removing it (as the patch does) I thought about moving it back to the addOverhangingFloats() method where it was added as part of r167602. That revision is actually two fixes and the one that required this code was an import of a Blink patch. However moving it to its original location does not seem to regress anything and what's more Blink has also removed it from there some time ago. That's why I decided just to remove it. Does not directly fix any test at the moment but it's a precondition for wkb.ug/224185 which will fix 3 tests. * rendering/RenderBox.cpp: (WebCore::RenderBox::createsNewFormattingContext const): Canonical link: https://commits.webkit.org/241383@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@282083 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
22 additions
and 1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters