diff --git a/src/attributes.js b/src/attributes.js index 5ccbf2cde..374196e12 100644 --- a/src/attributes.js +++ b/src/attributes.js @@ -424,6 +424,7 @@ if ( !jQuery.support.getSetAttribute ) { "class": "className", maxlength: "maxLength", cellspacing: "cellSpacing", + cellpadding: "cellPadding", rowspan: "rowSpan", colspan: "colSpan", usemap: "useMap", diff --git a/test/unit/attributes.js b/test/unit/attributes.js index 87fa5625f..8ea27aa36 100644 --- a/test/unit/attributes.js +++ b/test/unit/attributes.js @@ -20,6 +20,7 @@ test("jQuery.attrFix integrity test", function() { "class": "className", maxlength: "maxLength", cellspacing: "cellSpacing", + cellpadding: "cellPadding", rowspan: "rowSpan", colspan: "colSpan", usemap: "useMap",