Use `innerText` if `textContent` isn't available.

This should cover all cases.