Repository navigation
Commit 5bdf044
committed
fix(hydration): guard unframed cursor stamp, detached endMarker, and markerless abort start
- Unframed root stamp: skip isBlockClose cursors so the fresh root is
detected via freshAfter instead of stamping the parent's close marker.
- rebuiltPosition: fall back to null when endMarker has been detached
from parent (self-marked element removed by a retry's discardCursor).
- Markerless abort: store contentBefore (the cursor's previousSibling)
so the sweep covers the adopted prefix, not just after.previousSibling.1 parent 2efce03 commit 5bdf044
1 file changed
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19896 | 19896 | | |
19897 | 19897 | | |
19898 | 19898 | | |
19899 | | - | |
19900 | | - | |
19901 | | - | |
| 19899 | + | |
| 19900 | + | |
| 19901 | + | |
19902 | 19902 | | |
19903 | 19903 | | |
19904 | 19904 | | |
| |||
31768 | 31768 | | |
31769 | 31769 | | |
31770 | 31770 | | |
31771 | | - | |
| 31771 | + | |
| 31772 | + | |
31772 | 31773 | | |
31773 | 31774 | | |
31774 | 31775 | | |
| |||
41953 | 41954 | | |
41954 | 41955 | | |
41955 | 41956 | | |
41956 | | - | |
| 41957 | + | |
41957 | 41958 | | |
41958 | 41959 | | |
41959 | 41960 | | |
| |||
0 commit comments