Primary eng (and PM) emails
Summary
Remove the Text.replaceWholeText() method, which removes adjacent text nodes and sets the text of the one that remains.
Motivation
It as been tentatively removed from the DOM Standard:
https://dom.spec.whatwg.org/#dom-text-replacewholetext
Compatibility Risk
Any scripts using it will throw exceptions after the method is gone.
Alternative implementation suggestion for web developers
Sometimes, textContent on the parentNode is OK. If not, call parentNode.normalize() and then replace the text of the only Text node that should remain.
Usage information from UseCounter
https://www.chromestatus.com/metrics/feature/timeline/popularity/100
That's 0% every day except March 20, when it was 0.0001%.
Entry on chromestatus.com, crbug.com, or MDN
https://developer.mozilla.org/en-US/docs/Web/API/Text.replaceWholeText
Requesting approval to remove too?
Yes. Usage is ~0 so ~0 people would see a deprecation message.To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
LGTM2