Skip to content

Prefer textContent to innerText#808

Merged
zpao merged 1 commit into
facebook:masterfrom
sophiebits:prefer-textContent
Jan 7, 2014
Merged

Prefer textContent to innerText#808
zpao merged 1 commit into
facebook:masterfrom
sophiebits:prefer-textContent

Conversation

@sophiebits
Copy link
Copy Markdown
Collaborator

Fixes #807.

Haven't tested extensively.

@plievone
Copy link
Copy Markdown
Contributor

plievone commented Jan 4, 2014

Nice! textContent should also be faster http://www.kellegous.com/j/2013/02/27/innertext-vs-textcontent/

@ghost ghost assigned zpao Jan 7, 2014
zpao added a commit that referenced this pull request Jan 7, 2014
Prefer textContent to innerText
@zpao zpao merged commit f9551d7 into facebook:master Jan 7, 2014
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.

Changing text element content in SVG doesn't work properly

3 participants