Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

element.innerText not supported in Firefox #17

Open
luis-eduardo opened this issue Feb 10, 2015 · 2 comments
Open

element.innerText not supported in Firefox #17

luis-eduardo opened this issue Feb 10, 2015 · 2 comments

Comments

@luis-eduardo
Copy link

Currently Firefox does not support the innerText property for DOM elements.
dbind is using it in "ElementBinding.prototype.is" to set the value on the bound element.
Could it use innerHTML instead of innerText for cross browser compatibility?

Thanks!

By the way, I'm testing on Firefox 35.0.1 for Linux.

@dylans
Copy link

dylans commented Feb 10, 2015

@luis-eduardo I would assume textContent is actually a better option?

@luis-eduardo
Copy link
Author

I agree, textContent is better.

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

No branches or pull requests

2 participants