s/Document/node/

Should support the cloneNode() case

Need to look into the implications of running the algorithm for an element without src/srcset