| Summary: | Inapplicable top, bottom style shouldn't affect height calculation | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
| Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | bfulgham, karlcow, simon.fraser, webkit-bug-importer, zalan |
| Priority: | P2 | Keywords: | BrowserCompat, InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
|
Description
Ahmad Saleem
2023-01-01 10:35:47 PST
Seems we need to update this: https://searchfox.org/wubkat/source/Source/WebCore/rendering/RenderBoxModelObject.cpp#286 NOTE - This issue seems to be something similar to cache related issues, because if I refresh same tab again, it passes. Very strange! We have this: https://searchfox.org/wubkat/source/Source/WebCore/rendering/RenderBoxModelObject.cpp#268 if (isOutOfFlowPositionedWithImplicitHeight(*cb)) return nullptr; and 'isOutOfFlowPositionedWithImplicitHeight' function is exactly as this patch: static inline bool isOutOfFlowPositionedWithImplicitHeight(const RenderBoxModelObject& child) { return child.isOutOfFlowPositioned() && !child.style().logicalTop().isAuto() && !child.style().logicalBottom().isAuto(); } |