Changeset 270027 in webkit
- Timestamp:
- Nov 19, 2020 6:19:36 AM (3 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r270026 r270027 1 2020-11-19 Zalan Bujtas <zalan@apple.com> 2 3 [LFC][Integration] Disable non-text content with floats 4 https://bugs.webkit.org/show_bug.cgi?id=219122 5 6 Reviewed by Antti Koivisto. 7 8 Non-text content may stretch the line and we don't yet have support for dynamic float avoiding (as the line grows). 9 10 * layout/integration/LayoutIntegrationCoverage.cpp: 11 (WebCore::LayoutIntegration::canUseForLineLayoutWithReason): 12 1 13 2020-11-19 Zalan Bujtas <zalan@apple.com> 2 14 -
trunk/Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp
r269938 r270027 713 713 // The <blockflow><inline>#text</inline></blockflow> case is also popular and should be relatively easy to cover. 714 714 for (const auto* child = flow.firstChild(); child; child = child->nextSibling()) { 715 if (!is<RenderText>(*child) && flow.containsFloats()) { 716 // Non-text content may stretch the line and we don't yet have support for dynamic float avoiding (as the line grows). 717 SET_REASON_AND_RETURN_IF_NEEDED(FlowHasUnsupportedFloat, reasons, includeReasons); 718 } 715 719 auto childReasons = canUseForChild(*child, includeReasons); 716 720 if (childReasons)
Note: See TracChangeset
for help on using the changeset viewer.