similar to width and horizontal margin computation
Created attachment 342163 [details] Patch
Comment on attachment 342163 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=342163&action=review > Source/WebCore/layout/FormattingContext.h:92 > + struct HeightAndMargin { > + LayoutUnit height; > + Display::Box::VerticalEdges margin; > + }; I also tried struct SizeAndMargin { std::optional<LayoutUnit> width; std::optional<LayoutUnit> height; std::optional<Display::Box::VerticalEdges> verticalMargin; std::optional<Display::Box::HorizontalEdges> horizontalMargin; }; but it turned out to be too confusing with all the std::nullopts.
Comment on attachment 342163 [details] Patch Clearing flags on attachment: 342163 Committed r232581: <https://trac.webkit.org/changeset/232581>
All reviewed patches have been landed. Closing bug.
<rdar://problem/40895938>