fix(ngSanitize): prefer textContent to innerText to avoid layout trashing
innerText depends on styling as it doesn't display hidden elements. Therefore, it's better to use textContent not to cause unnecessary reflows. However, IE<9 don't support textContent so the innerText fallback is necessary.
M
Michał Gołębiowski committed
bf1972dc1e8ffbeaddfa53df1d49bc5a2177f09c
Parent: 689dfb1
Committed by Tobias Bosch <tbosch1009@gmail.com>
on 12/3/2013, 10:45:30 PM