// Attributes with a colon on a table element (#1591)
// Attributes with a colon on a table element (#1591)
equal(jQuery("#table").attr("test:attrib"),undefined,"Retrieving a non-existent attribute on a table with a colon does not throw an error.");
equal(jQuery("#table").attr("test:attrib"),undefined,"Retrieving a non-existent attribute on a table with a colon does not throw an error.");
equal(jQuery("#table").attr("test:attrib","foobar").attr("test:attrib"),"foobar","Setting an attribute on a table with a colon does not throw an error.");
equal(jQuery("#table").attr("test:attrib","foobar").attr("test:attrib"),"foobar","Setting an attribute on a table with a colon does not throw an error.");
equal(jQuery("#fx-test-group").attr("height","3px").removeAttr("height").get(0).style.height,"1px","Removing height attribute has no effect on height set with style attribute");
equal(jQuery("#fx-test-group").attr("height","3px").removeAttr("height").get(0).style.height,"1px","Removing height attribute has no effect on height set with style attribute");
equal(document.getElementById("text1").readOnly,false,"removeAttr sets boolean properties to false");
equal(document.getElementById("text1").readOnly,false,"removeAttr sets boolean properties to false");
jQuery("#option2c").removeAttr("selected");
jQuery("#option2c").removeAttr("selected");
equal(jQuery("#option2d").attr("selected"),"selected","Removing `selected` from an option that is not selected does not remove selected from the currently selected option (#10870)");
equal(jQuery("#option2d").attr("selected"),"selected","Removing `selected` from an option that is not selected does not remove selected from the currently selected option (#10870)");
strictEqual(jQuery("#firstp").prop("nonexisting","foo").removeProp("nonexisting")[0]["nonexisting"],undefined,"removeprop works correctly on DOM element nodes");
//equal( jQuery([]).add(jQuery("#form")[0].elements).length, jQuery(jQuery("#form")[0].elements).length, "Array in constructor must equals array in add()" );
//equal( jQuery([]).add(jQuery("#form")[0].elements).length, jQuery(jQuery("#form")[0].elements).length, "Array in constructor must equals array in add()" );
vardivs=jQuery("<div/>").add("#sndp");
vardivs=jQuery("<div/>").add("#sndp");
ok(!divs[0].parentNode,"Make sure the first element is still the disconnected node.");
ok(divs[0].parentNode,"Sort with the disconnected node last (started with disconnected first).");
divs=jQuery("<div>test</div>").add("#sndp");
equal(divs[0].parentNode.nodeType,11,"Make sure the first element is still the disconnected node.");
divs=jQuery("#sndp").add("<div/>");
divs=jQuery("#sndp").add("<div/>");
ok(!divs[1].parentNode,"Make sure the first element is still the disconnected node.");
ok(!divs[1].parentNode,"Sort with the disconnected node last.");