Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Inline element with a block ::before following a floated element is c…
…leared https://bugs.webkit.org/show_bug.cgi?id=242798 <rdar://problem/97436662> Reviewed by Antti Koivisto. This patch disables the IFC codepath for inline content when the formatting context has the combination of intrusive float and non-line-break inline level element with "clear". IFC has partial "clear" implementation. 1. r268202 enabled "clear" specifically for <br> 2. r290868 (where floats got enabled) failed to check against the rest of the non-line-break type of content for clear. * LayoutTests/fast/block/float/clear-stretches-block-height-incorrect-expected.html: Added. * LayoutTests/fast/block/float/clear-stretches-block-height-incorrect.html: Added. * Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp: (WebCore::LayoutIntegration::canUseForLineLayoutWithReason): Canonical link: https://commits.webkit.org/253076@main
- Loading branch information