Bug 869048: Use textContent in translateDocument