Re: [whatwg/dom] Proposal: A Range.prototype.replaceContents(...) (#837)

@emilio if needed, I've just created from scratch [a diffing algorithm that fits in less than 100 LOC](https://github.com/WebReflection/udomdiff/blob/master/esm/index.js) and it could be spec'd too.

The `get` function, in specs case, should instrument the engine to trigger callbacks and mutations when the passed value is `-1`, and ignore these when the passed value is `1` *and* the node was already present in the same `parentNode`.

Values like `0` and `-0` can be ignored so ... anyone interested?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/837#issuecomment-593100412

Received on Sunday, 1 March 2020 13:58:56 UTC