Skip to content

Update box-sizing invalidation regression coverage - #59137

Closed
cortinico wants to merge 2 commits into
react:mainfrom
cortinico:export-D125660351
Closed

cortinico wants to merge 2 commits into
react:mainfrom
cortinico:export-D125660351

Conversation

@cortinico

Copy link
Copy Markdown
Contributor

Summary:
Update the Fantom regression test to reflect Yoga style equality including boxSizing. Assert that native content-box updates invalidate layout on the first rerender, and remove the stale follow-up rerender.

Changelog: [Internal]

Differential Revision: D125660351

Open Source Bot and others added 2 commits October 16, 2026 05:25
Summary:
`Style::operator==` compares every style field except `boxSizing_`, so two
styles that only differ in box sizing compare equal. `YGNodeCopyStyle` then
skips the copy and leaves the destination node with the old box sizing, and
callers that compare styles to decide whether a node needs relayout miss the
change.

Compare `boxSizing_` together with the other enum fields.

Reviewed By: cortinico

Differential Revision: D125427467
Summary:
Update the Fantom regression test to reflect Yoga style equality including `boxSizing`. Assert that native content-box updates invalidate layout on the first rerender, and remove the stale follow-up rerender.

Changelog: [Internal]

Differential Revision: D125660351
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 16, 2026
@meta-codesync

meta-codesync Bot commented Oct 16, 2026

Copy link
Copy Markdown

@cortinico has exported this pull request. If you are a Meta employee, you can view the originating Diff in D125660351.

@meta-codesync meta-codesync Bot closed this in 32131bf Oct 16, 2026
@meta-codesync meta-codesync Bot added the Merged This PR has been merged. label Oct 16, 2026
@meta-codesync

meta-codesync Bot commented Oct 16, 2026

Copy link
Copy Markdown

This pull request has been merged in 32131bf.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant