Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RenderBlockFlows with no children should not even try to run inline l…
…ayout https://bugs.webkit.org/show_bug.cgi?id=254391 Reviewed by Antti Koivisto. 1. RenderBlockFlow's initial state is m_childrenInline = true 2. m_childrenInline is set to true when the block ends up with no children. 3. childrenInline() makes RenderBlockFlow run inline layout. Initiating layout (IFC or BFC) does not make much sense when there's nothing to run layout on. * Source/WebCore/rendering/RenderBlockFlow.cpp: (WebCore::RenderBlockFlow::layoutInlineChildren): RenderSVGText calls layoutInlineChildren with no children :| Canonical link: https://commits.webkit.org/262077@main
- Loading branch information