Fix feature detection in element#setText
|Reported by:||Reinmar||Owned by:||Reinmar|
I was wondering why single innerText access takes so much time during CKEditor initialization. Surprisingly, the answer makes sense.
innerText is aware of style and will not return the text of hidden elements, whereas textContent will
So, poor feature detection done on a wrong node may require the entire layout recalculation.
Change History (8)
comment:3 Changed 3 years ago by Reinmar
- Owner set to Reinmar
- Status changed from confirmed to assigned