mirror of
https://github.com/jquery/jquery.git
synced 2024-10-05 11:34:18 +00:00
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) {
|
||||
add( jQuery.css(elem, "borderLeftWidth"), jQuery.css(elem, "borderTopWidth") );
|
||||
add( jQuery.curCSS(elem, "borderLeftWidth", true), jQuery.curCSS(elem, "borderTopWidth", true) );
|
||||
}
|
||||
|
||||
function add(l, t) {
|
||||
|
Loading…
Reference in New Issue
Block a user