Make shouldComputeLogicalWidthFromAspectRatio check percentage height better.
Created attachment 419278 [details] Patch
Created attachment 419454 [details] Patch
<rdar://problem/74232105>
Comment on attachment 419454 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=419454&action=review > Source/WebCore/rendering/RenderBox.cpp:5092 > + if (!shouldComputeLogicalWidthFromAspectRatioAndInsets() && !style().logicalHeight().isFixed() && !(style().logicalHeight().isPercentOrCalculated() && (isOutOfFlowPositioned() || percentageLogicalHeightIsResolvable()))) That list of conditions is getting pretty complex. Maybe wrap it in a lambda for clarity.
Created attachment 420613 [details] Patch
Committed r272992: <https://commits.webkit.org/r272992> All reviewed patches have been landed. Closing bug and clearing flags on attachment 420613 [details].