Skip to content

Commit

Permalink
Make position static behave like position static (facebook#41685)
Browse files Browse the repository at this point in the history
Summary:

This is the final step (that I know of) to get the core features of static working. Here we turn on all of the tests and pass down the correct owner size for the call to `calculateLayoutInternal` that is in `layoutAbsoluteChild`

Reviewed By: NickGerleman

Differential Revision: D51293606
  • Loading branch information
joevilches authored and facebook-github-bot committed Nov 29, 2023
1 parent f4f7d59 commit 539cd92
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -388,8 +388,8 @@ void layoutAbsoluteChild(
direction,
childWidthSizingMode,
childHeightSizingMode,
childWidth,
childHeight,
containingBlockWidth,
containingBlockHeight,
false,
LayoutPassReason::kAbsMeasureChild,
layoutMarkerData,
Expand All @@ -408,8 +408,8 @@ void layoutAbsoluteChild(
direction,
SizingMode::StretchFit,
SizingMode::StretchFit,
childWidth,
childHeight,
containingBlockWidth,
containingBlockHeight,
true,
LayoutPassReason::kAbsLayout,
layoutMarkerData,
Expand Down

0 comments on commit 539cd92

Please sign in to comment.