Skip to content

Commit

Permalink
Make position static behave like position static (#41685)
Browse files Browse the repository at this point in the history
Summary:
X-link: facebook/yoga#1482

Pull Request resolved: #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 facebook-github-bot committed Dec 8, 2023
1 parent 6025d50 commit 475036d
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 475036d

Please sign in to comment.