aboutsummaryrefslogtreecommitdiffstats
path: root/src/attributes.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/attributes.js')
-rw-r--r--src/attributes.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/attributes.js b/src/attributes.js
index ced9977e4..15d4d50e0 100644
--- a/src/attributes.js
+++ b/src/attributes.js
@@ -477,7 +477,8 @@ if ( !jQuery.support.style ) {
jQuery.attrHooks.style = {
get: function( elem ) {
// Return undefined in the case of empty string
- return elem.style.cssText || undefined;
+ // Normalize to lowercase since IE uppercases css property names
+ return elem.style.cssText.toLowerCase() || undefined;
},
set: function( elem, value ) {
return (elem.style.cssText = "" + value);