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:
X-link: facebook/yoga#1482

Pull Request resolved: facebook#41685

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

fbshipit-source-id: 972259e7ebecb19b55aef2ef866bd7cb57aaf0ca
  • Loading branch information
joevilches authored and Othinn committed Jan 9, 2024
1 parent 9c8b6f4 commit 157b857
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 157b857

Please sign in to comment.