[Webkit-unassigned] [Bug 249114] Remove non-standard Range.compareNode()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 25 22:41:50 PST 2024


https://bugs.webkit.org/show_bug.cgi?id=249114

--- Comment #4 from Karl Dubost <karlcow at apple.com> ---
I see 84 instances on GitHub
https://github.com/search?q=Range.compareNode+language%3AJavaScript&type=code&l=JavaScript

BUT but most of them have this pattern:

```
range.compareNode(editableHost) !== range.NODE_BEFORE_AND_AFTER
```

which comes from a  DEPRECATED library 
https://github.com/Fixxpunkt/editable.js/

They link 
editable.js ⛔ [DEPRECATED] Active at https://github.com/Fixxpunkt/sto/
Which is itself dead.

The fork was from 
https://github.com/search?q=repo%3AlivingdocsIO%2Feditable.js%20compareNode&type=code

which contains no compareNode hit. 

Another one which has been archived
https://github.com/wymeditor/wymeditor

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20241226/c9437811/attachment.htm>


More information about the webkit-unassigned mailing list