Files
react/compiled-rn
jackpope be952bbae2 Handle fabric root level fragment with compareDocumentPosition (#34533)
The root instance doesn't have a canonical property so we were not
returning a public instance that we can call compareDocumentPosition on
when a Fragment had no other host parent in Fabric. In this case we need
to get the ReactNativeElement from the ReactNativeDocument.

I've also added test coverage for this case in DOM for consistency,
though it was already working there because we use DOM elements as root.
This same test will be copied to RN using Fantom.

DiffTrain build for [83c88ad470](https://github.com/facebook/react/commit/83c88ad470d680060f807ef81ed4c14b3b71fd3b)
2025-09-23 08:03:02 -07:00
..