From: Scott González Date: Fri, 26 Oct 2012 19:48:37 +0000 (-0400) Subject: Resizable: Removed pixel shifting for IE6. X-Git-Tag: 1.10.0-beta.1~227 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d73edfff769603681a0889585b45062cdf98743e;p=jquery-ui.git Resizable: Removed pixel shifting for IE6. --- 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 || $('
'); - // 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 });