facebook/react — pull request #887 by syranide (2014-01-14 11:07:30+00:00)
Title: Test innerText/textContent on document.documentElement instead

W3 specifies that `Document` is an implementation of `Node` and testing on that should save us from temporarily creating a `div`. Testing in my browsers shows this to be true.