On Wed, May 2, 2012 at 10:49 AM, Ojan Vafai <[email protected]> wrote:
> textContent will strip a bunch of visible content (images, iframes, > embeds, etc.). > > Another edge case to consider: > <div contentEditable placeholder=foo><div > style="background-color:red;width:100px;height:100px"></div></div> > Should that be considered as non-empty? If so, maybe we should define it as either the content height or the content width being 0? But what about <div> </div>? Should this also be considered as non-empty? - Ryosuke
