Re: [whatwg/dom] Minor textContent / string replace all optimization (Issue #1106)

refCount check is there to detect any range, selection, and other objects referencing this text node since range & selection changes are observable.

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

Message ID: <whatwg/dom/issues/1106/1238526535@github.com>

Received on Tuesday, 6 September 2022 18:48:01 UTC