check whether the removed node's ancestors has been removed

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent 153035f4b0
commit 12fc5de3a7
3 changed files with 21 additions and 2 deletions

View File

@@ -625,7 +625,7 @@ export class Replayer {
private debugNodeNotFound(d: incrementalData, id: number) {
/**
* There may me some valid scenes of node not being found.
* There maybe some valid scenes of node not being found.
* Because DOM events are macrotask and MutationObserver callback
* is microtask, so events fired on a removed DOM may emit
* snapshots in the reverse order.