Re:The poor, misunderstood innerText
by userbinator on Wednesday April 01, 2015 @08:37PM
(#9307978)
but maybe a JS lib could step in to come up with a reliable way of doing it
That just moves the problem of its definition being vague from the browser developers to the JS lib developers... and there are so many more of the latter than the former that I could see it resulting in various libraries adopting slightly different definitions. It does make it easier to adopt one definition across browsers though.
That just moves the problem of its definition being vague from the browser developers to the JS lib developers... and there are so many more of the latter than the former that I could see it resulting in various libraries adopting slightly different definitions. It does make it easier to adopt one definition across browsers though.