Changeset 269938 in webkit
- Timestamp:
- Nov 17, 2020 5:31:05 PM (3 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r269937 r269938 1 2020-11-17 Zalan Bujtas <zalan@apple.com> 2 3 REGRESSION (r269744): ASSERTION FAILED: m_hasValidContentHeight in WebCore::Layout::BoxGeometry::contentBoxHeight() 4 https://bugs.webkit.org/show_bug.cgi?id=219004 5 <rdar://problem/71459284> 6 7 Reviewed by Antti Koivisto. 8 9 Unfortunately we have to disable all percentage height/width content until after the integration codepath is fixed. 10 (in this case, the layout code assumes that percentage height values can always be resolved by climbing up on the 11 ancestor chain -worst case scenario we find the ICB which always has fixed height value. 12 However the integration codepath does not set the height on the fake ICB (RenderBlockFlow) even when the flow's height 13 is fixed and the IFC code can't climb farther up on the tree) 14 15 * layout/integration/LayoutIntegrationCoverage.cpp: 16 (WebCore::LayoutIntegration::canUseForChild): 17 1 18 2020-11-17 Megan Gardner <megan_gardner@apple.com> 2 19 -
trunk/Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp
r269921 r269938 584 584 if (style.verticalAlign() == VerticalAlign::Sub || style.verticalAlign() == VerticalAlign::Super) 585 585 return false; 586 auto& width = style.width(); 587 auto& height = style.height(); 588 if (width.isPercent() || height.isPercent()) 586 if (style.width().isPercent() || style.height().isPercent()) 589 587 return false; 590 if ( width.isAuto() && (style.minWidth().isPercent() || style.maxWidth().isPercent()))588 if (style.minWidth().isPercent() || style.maxWidth().isPercent()) 591 589 return false; 592 if ( height.isAuto() && (style.minHeight().isPercent() || style.maxHeight().isPercent()))590 if (style.minHeight().isPercent() || style.maxHeight().isPercent()) 593 591 return false; 594 592 return true;
Note: See TracChangeset
for help on using the changeset viewer.