]> source.dussan.org Git - jquery.git/commitdiff
Add support for setting the cellPadding attribute in IE6/7 327/head
authortimmywil <tim.willison@thisismedium.com>
Fri, 15 Apr 2011 03:11:49 +0000 (23:11 -0400)
committertimmywil <tim.willison@thisismedium.com>
Fri, 15 Apr 2011 03:11:49 +0000 (23:11 -0400)
src/attributes.js
test/unit/attributes.js

index 5ccbf2cdecd55fc232f5ec89f46ca79e1969ada3..374196e12b0d60dae2d95d1d10d84845921d7550 100644 (file)
@@ -424,6 +424,7 @@ if ( !jQuery.support.getSetAttribute ) {
                "class": "className",
                maxlength: "maxLength",
                cellspacing: "cellSpacing",
+               cellpadding: "cellPadding",
                rowspan: "rowSpan",
                colspan: "colSpan",
                usemap: "useMap",
index 87fa5625fd4efc4153490ec725b2b815ac893235..8ea27aa361f25635ab790d1a71a8a4f245448f13 100644 (file)
@@ -20,6 +20,7 @@ test("jQuery.attrFix integrity test", function() {
                        "class": "className",
                        maxlength: "maxLength",
                        cellspacing: "cellSpacing",
+                       cellpadding: "cellPadding",
                        rowspan: "rowSpan",
                        colspan: "colSpan",
                        usemap: "useMap",