In 1.3, el.contains() appears not to recognize textnodes in Webkit.

http://jsfiddle.net/M4aS7/

In Firefox, textnodes are found.
In Mootools 1.2x hasChild() would return true if the textnode is a
child.

How do I check, in Webkit, if a textnode is included [or if an
ancestor exists to the textnode]?

Is this behavior intended, or should I file a bug?
Is there a way to have consistent behavior?

Reply via email to