Closed tzehetner closed 10 years ago
Just verified that parents() is supposed to work with text nodes. Will make this fix.
Note: jQuery seems to behave inconsistently when dealing with text nodes in traversal methods, and per this discussion didn't (doesn't?) have unit test coverage for text node cases. Parent seems to be an exception in that it's agreed that it should work for text nodes. Linking this just for reference if this comes up in the future.
How to reproduce: