Frontmatter
| id | 8605 |
| title | Fragment Range Operations in DeltaUpdates |
| state | Closed |
| labels | aicorefeature |
| assignees | tobiu |
| createdAt | Jan 13, 2026, 4:09 PM |
| updatedAt | Jan 13, 2026, 5:07 PM |
| githubUrl | https://github.com/neomjs/neo/issues/8605 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | 8601 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 13, 2026, 5:07 PM |
Fragment Range Operations in DeltaUpdates
tobiu added parent issue #8601 on Jan 13, 2026, 4:10 PM
tobiu cross-referenced by #8601 on Jan 13, 2026, 4:17 PM
tobiu assigned to @tobiu on Jan 13, 2026, 4:18 PM

tobiu
Jan 13, 2026, 5:07 PM
Input from Gemini 3 Pro:
✦ I have implemented Fragment range operations in
DeltaUpdates.
removeNode: Now detects fragment start anchors (<!-- id-start -->) and removes the entire range (start + children + end).moveNode: Uses XPath to find fragment anchors globally (handling the case wheregetElement(id)fails), extracts the range into aDocumentFragment, and inserts it at the new location.getFragmentNodes: New helper for robust range detection.Ready for testing.
tobiu closed this issue on Jan 13, 2026, 5:07 PM
Part of Epic #8601.
Goal: Update
src/main/DeltaUpdates.mjsto handle lifecycle operations for Fragments by manipulating DOM ranges defined by comment anchors.Tasks:
insertNode:removeNode:<!-- fragment-id-start -->anchor.<!-- fragment-id-end -->is found and removed.moveNode:DocumentFragmentor usingreplaceChildlogic).