Primary eng (and PM) emails
Summary
Deprecate Range.compareNode() and Range.expand().
Motivation
These are non-standard extensions to the Range interface introduced in 2006 and 2009 respectively:
https://trac.webkit.org/changeset/48271Compatibility Risk
Exceptions will be thrown, unlimited breakage possible in theory.
Alternative implementation suggestion for web developers
Range.compareNode() => Range.compareBoundaryPoints() is the advice given in the MDN page.
Range.expand() => Selection.modify(), which is currently non-standard but will probably end up in the spec: https://github.com/w3c/selection-api/issues/37
The interoperability here doesn't look great, so whatever changes are made will need to be tested carefully in shipping browsers, not just work per spec.
Usage information from UseCounter
Entry on chromestatus.com, crbug.com, or MDN
https://developer.mozilla.org/en-US/docs/Web/API/range.compareNode
http://msdn.microsoft.com/en-us/library/ie/ms536421%28v=vs.85%29.aspx
Requesting approval to remove too?
No. While usage is low, these have been around for a while, so let the deprecation sit for a bit to see if anyone objects.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.