selectAll: Changes to handle shadow DOM Tree as C++ implementation.