offset: make sure border width always gets calculated in pixels
This commit is contained in:
parent
be9302b710
commit
add0681f90
|
@ -86,7 +86,7 @@ jQuery.fn.offset = function() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function border(elem) {
|
function border(elem) {
|
||||||
add( jQuery.css(elem, "borderLeftWidth"), jQuery.css(elem, "borderTopWidth") );
|
add( jQuery.curCSS(elem, "borderLeftWidth", true), jQuery.curCSS(elem, "borderTopWidth", true) );
|
||||||
}
|
}
|
||||||
|
|
||||||
function add(l, t) {
|
function add(l, t) {
|
||||||
|
|
Loading…
Reference in a new issue