From b6d21592cb2023ce8922781536b984e6d2654ad7 Mon Sep 17 00:00:00 2001 From: timmywil Date: Thu, 14 Apr 2011 23:11:49 -0400 Subject: [PATCH] Add support for setting the cellPadding attribute in IE6/7 --- src/attributes.js | 1 + test/unit/attributes.js | 1 + 2 files changed, 2 insertions(+) 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", -- 2.39.5