Commit f2f9209
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 b111c0e commit f2f9209
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 | |
|---|---|---|---|
| |||
558 | 558 | | |
559 | 559 | | |
560 | 560 | | |
| 561 | + | |
561 | 562 | | |
562 | 563 | | |
563 | 564 | | |
| |||
| 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