This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reset the dirty bit on the inline level renderers when counter is pre…
…sent https://bugs.webkit.org/show_bug.cgi?id=241534 Reviewed by Antti Koivisto. While the actual line layout happens in layoutRunsAndFloats, we pre-reset the needsLayout flag as we walk the renderers and prepare them for the inline layout. Normally this simple DOM order walk clears all the layout bits just fine, but counters can re-dirty any "connected" renderer in a seemingly random order. This patch ensures that all inline level box renders are marked clean before returning from layoutLineBoxes. * Source/WebCore/rendering/LegacyLineLayout.cpp: (WebCore::LegacyLineLayout::layoutLineBoxes): Canonical link: https://commits.webkit.org/251482@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@295477 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing 1 changed file with 15 additions and 1 deletion.