I'm looking for same method like
getElementsAtPosition(x,y) but instead of position I want to get all DOM for a given area (may be a rectangle). So it should look something like
what I tried is http://jsfiddle.net/mantrig/3tqqy0gt/
Although you don't have a native method for this, there are many ways you can do it. It is possible to build an algorithm which uses
getElementsAtPosition(x,y) to search an area. Or you can get all elements and see if they fall inside a specific area.
Please see this question.