Changes between Initial Version and Version 1 of Ticket #11540, comment 1
- Timestamp:
- Mar 31, 2012, 9:02:32 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11540, comment 1
initial v1 1 1 So are you asking for text-node test cases to be added to our unit tests? That seems like a lot of work for an edge case. I'd prefer to just add a more explicit note to `.contents()` Something like this: 2 > Warning: many jQuery methods do not expect collections that contain text nodes, and may not behave predictably with them. The `.filter()` method always removes text nodes in a collection. [ [List of specifically allowed operations]].2 > Warning: many jQuery methods do not expect collections that contain text nodes, and may not behave predictably with them. The `.filter()` method always removes text nodes in a collection. [(List of specifically allowed operations?)].