News for hackers. Stuff that matters.
Re:On Layout and Web Performance by kellegous on Monday January 28, 2013 @04:09PM (#5130651)
You are going to make me give away my future punchline. ;-) The short story is that innerText will include the line breaks that are introduced by text layout. A lot of people call innerText when what they actually want is textContent (which doesn't layout because is just a concatenation of the descendent text nodes)

There are no comments on this comment yet.