+ // Test multi-line HTML
+ var div = jQuery("<div>\r\nsome text\n<p>some p</p>\nmore text\r\n</div>")[0];
+ equals( div.nodeName.toUpperCase(), "DIV", "Make sure we're getting a div." );
+ equals( div.firstChild.nodeType, 3, "Text node." );
+ equals( div.lastChild.nodeType, 3, "Text node." );
+ equals( div.childNodes[1].nodeType, 1, "Paragraph." );
+ equals( div.childNodes[1].firstChild.nodeType, 3, "Paragraph text." );
+