title: How to check a DOM element is inside a range
body: <p>How can I check that the node from the DOM tree is inside a specific range (<a href="https://developer.mozilla.org/en-US/docs/Web/API/Range" rel="nofollow">https://developer.mozilla.org/en-US/docs/Web/API/Range</a>)? Of course, the node can be totally inside the range and partly inside range.</p>