Skip to content

Conversation

@syranide
Copy link
Contributor

W3 specifies that Document.documentElement 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.

@zpao
Copy link
Member

zpao commented Jan 22, 2014

Regardless of what W3 specifies, does this work in IE8?

@syranide
Copy link
Contributor Author

@zpao Yep and I don't see why it shouldn't.

@zpao
Copy link
Member

zpao commented Apr 24, 2014

Can you rebase?

zpao added a commit that referenced this pull request Apr 24, 2014
Test innerText/textContent on document.documentElement instead
@zpao zpao merged commit 28820e0 into facebook:master Apr 24, 2014
@syranide syranide deleted the textdocument branch April 25, 2014 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants