[DOM] Fix Fragment compareDocumentPosition for documentElement and empty portals (#37163)
Accept documentElement in the CONTAINS fiber fallback when there is no React fiber, and position empty portaled fragments against the portal container instead of the React host parent.
J
Jack Pope committed
809280d595b589981758f5372986b66eb9150f6c
Parent: db4ee65
Committed by GitHub <noreply@github.com>
on 8/12/2026, 1:19:19 AM