Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

webkit antializing fix #28

Open
wants to merge 1 commit into from

1 participant

Artur Sabrov
Artur Sabrov

Small fixes for webkit antializing bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 4, 2011
  1. Artur Sabrov

    webkit antializing fix

    asabirov authored
This page is out of date. Refresh to see the latest.
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/jquery.transform.js
6 src/jquery.transform.js
View
@@ -191,6 +191,12 @@
values.push(this.createTransformFunc(func, funcs[func]));
}
}
+
+ // fix webkit antializing
+ if (funcs['rotate'] && transformProperty == '-webkit-transform') {
+ values.push('translateZ(1px)');
+ }
+
this.$elem.css(transformProperty, values.join(' '));
return true;
},
Something went wrong with that request. Please try again.