diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-10-26 15:48:37 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-10-26 15:48:37 -0400 |
commit | d73edfff769603681a0889585b45062cdf98743e (patch) | |
tree | 9f66632e9a4ea53092f80f742afa9d527e2df2f7 /ui/jquery.ui.resizable.js | |
parent | 0c672543bf897c0d8c162a2daedbf3a85206f227 (diff) | |
download | jquery-ui-d73edfff769603681a0889585b45062cdf98743e.tar.gz jquery-ui-d73edfff769603681a0889585b45062cdf98743e.zip |
Resizable: Removed pixel shifting for IE6.
Diffstat (limited to 'ui/jquery.ui.resizable.js')
-rw-r--r-- | ui/jquery.ui.resizable.js | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/ui/jquery.ui.resizable.js b/ui/jquery.ui.resizable.js index fc4868c37..c282f2950 100644 --- a/ui/jquery.ui.resizable.js +++ b/ui/jquery.ui.resizable.js @@ -464,16 +464,12 @@ $.widget("ui.resizable", $.ui.mouse, { this.helper = this.helper || $('<div style="overflow:hidden;"></div>'); - // fix ie6 offset TODO: This seems broken - var ie6offset = ($.ui.ie6 ? 1 : 0), - pxyoffset = ( $.ui.ie6 ? 2 : -1 ); - this.helper.addClass(this._helper).css({ - width: this.element.outerWidth() + pxyoffset, - height: this.element.outerHeight() + pxyoffset, + width: this.element.outerWidth() - 1, + height: this.element.outerHeight() - 1, position: 'absolute', - left: this.elementOffset.left - ie6offset +'px', - top: this.elementOffset.top - ie6offset +'px', + left: this.elementOffset.left +'px', + top: this.elementOffset.top +'px', zIndex: ++o.zIndex //TODO: Don't modify option }); |