Test innerText/textContent on document.documentElement instead
Merge pull request #887 from syranide/textdocument

Test innerText/textContent on document.documentElement instead