Changeset 269779 in webkit
- Timestamp:
- Nov 13, 2020, 8:08:14 AM (6 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
layout/integration/LayoutIntegrationCoverage.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r269778 r269779 1 2020-11-13 Antti Koivisto <antti@apple.com> 2 3 [LFC][Integration] Tighten inline-block coverage conditions 4 https://bugs.webkit.org/show_bug.cgi?id=218901 5 6 Reviewed by Zalan Bujtas. 7 8 The current ones allow some non-inline-blocks. 9 10 * layout/integration/LayoutIntegrationCoverage.cpp: 11 (WebCore::LayoutIntegration::canUseForChild): 12 1 13 2020-11-13 Julian Gonzalez <julian_a_gonzalez@apple.com> 2 14 -
trunk/Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp
r269745 r269779 605 605 606 606 #if ALLOW_INLINE_BLOCK 607 if (is<RenderBlock >(child)) {608 auto& block = downcast<RenderBlock >(child);607 if (is<RenderBlockFlow>(child)) { 608 auto& block = downcast<RenderBlockFlow>(child); 609 609 if (!block.isReplaced() || !block.isInline()) 610 610 SET_REASON_AND_RETURN_IF_NEEDED(FlowHasNonSupportedChild, reasons, includeReasons) … … 615 615 616 616 auto& style = block.style(); 617 if (block.style().display() != DisplayType::InlineBlock) 618 SET_REASON_AND_RETURN_IF_NEEDED(FlowHasNonSupportedChild, reasons, includeReasons) 617 619 if (style.verticalAlign() == VerticalAlign::Sub || style.verticalAlign() == VerticalAlign::Super) 618 620 SET_REASON_AND_RETURN_IF_NEEDED(FlowHasNonSupportedChild, reasons, includeReasons);
Note:
See TracChangeset
for help on using the changeset viewer.