Get an element and all its ancestors (excluding html and body).
Starting element
Array including the element and all ancestors
Get an element and all its ancestors (excluding html and body).