rubymaverick/jsdom — comment on commit 6bef5602f107b13c1134c2f10a8215a154a13028
File:  line 0
By tmpvar:

woah, thats a chunk of logic! Would a simple check for `this._tagName` suffice?