Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed swap to allow for linked style properties (WebkitBoxSizing chan…

…ges when boxSizing is set), reverted version.txt
  • Loading branch information...
commit e76e85ce063cb5c37a52a479c63092d5ba66f7e8 1 parent 955235e
@jamie-pate authored
Showing with 7 additions and 1 deletion.
  1. +3 −0  src/css.js
  2. +3 −0  src/effects.js
  3. +1 −1  version.txt
View
3  src/css.js
@@ -149,6 +149,9 @@ jQuery.extend({
// Remember the old values, and insert the new ones
for ( name in options ) {
old[ name ] = elem.style[ name ];
+ }
+ //some css properties are linked (WebkitBoxSizing,BoxSizing), make sure to remember all old properties first
+ for ( name in options ) {
elem.style[ name ] = options[ name ];
}
View
3  src/effects.js
@@ -14,6 +14,9 @@ var elemdisplay = {},
[ "opacity" ]
],
boxSizingSwap = {
+ "msBoxSizing" : "content-box",
+ "OBoxSizing" : "content-box",
+ "WebkitBoxSizing" : "content-box",
"MozBoxSizing" : "content-box",
"boxSizing" : "content-box"
},
View
2  version.txt
@@ -1 +1 @@
-1.7.2pre_swap_patch
+1.7.2pre
Please sign in to comment.
Something went wrong with that request. Please try again.