rowspan: "rowSpan",
colspan: "colSpan",
usemap: "useMap",
- frameborder: "frameBorder"
+ frameborder: "frameBorder",
+ contenteditable: "contentEditable"
},
prop: function( elem, name, value ) {
rowspan: "rowSpan",
colspan: "colSpan",
usemap: "useMap",
- frameborder: "frameBorder"
+ frameborder: "frameBorder",
+ contenteditable: "contentEditable"
},
propsShouldBe;
});
test("attr(String, Object)", function() {
- expect(56);
+ expect(57);
var div = jQuery("div").attr("foo", "bar"),
fail = false;
equals( $text.attr("aria-disabled", false).attr("aria-disabled"), "false", "Setting aria attributes are not affected by boolean settings");
$text.removeData("something").removeData("another").removeAttr("aria-disabled");
+ jQuery("#foo").attr("contenteditable", true);
+ equals( jQuery("#foo").attr("contenteditable"), "true", "Enumerated attributes are set properly" );
+
var attributeNode = document.createAttribute("irrelevant"),
commentNode = document.createComment("some comment"),
textNode = document.createTextNode("some text");