Commit 6ef7f7d
committed
Fix node ownership when
Summary:
Pull Request resolved: #56422
Changelog: [GENERAL][FIXED] Fixed Yoga node ownership when `display: contents` is used in absolutely positioned subtrees
Fixes an edge case where nodes with `display: contents` weren't cloned properly inside absolutely positioned subtrees.
Adds a test case covering this scenario.
X-link: react/yoga#1924
Reviewed By: NickGerleman
Differential Revision: D100581579
Pulled By: j-piasecki
fbshipit-source-id: e05e9a4076bd11a71be438ef910a262044659a9bdisplay: contents is used (#56422)1 parent 08eb766 commit 6ef7f7d
2 files changed
Lines changed: 7 additions & 1 deletion
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
528 | 528 | | |
529 | 529 | | |
530 | 530 | | |
| 531 | + | |
531 | 532 | | |
532 | 533 | | |
533 | 534 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
395 | | - | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
396 | 401 | | |
397 | 402 | | |
398 | 403 | | |
| |||
0 commit comments