The poor, misunderstood innerText

1 · Juriy Zaytsev · April 1, 2015, midnight
The poor, misunderstood innerText Few things are as misunderstood and misused on the web as innerText property. That quirky, non-standard way of element's text retrieval, introduced by Internet Explorer and later "copied" by both WebKit/Blink and Opera for web-compatibility reasons. It's usually seen in combination with textContent — as a cross-browser way of using standard property followed by a proprietary one: {% gist kangax/21b031672fcce0810e6f %} Or as the main webcompat offender in numero...