offset(coordinates) setter does not work properly with position:fixed div and Chrome/ Safari (fiddle inside)
|Reported by:||jfremy@…||Owned by:|
Fiddle demonstrating the bug: http://jsfiddle.net/jfremy/KG7x7/ Expected result: show the div at location 200,100. Written in white against a black background.
When setting the offset of a fixed position div under chrome / safari, the div is incorrectly positioned.
In jsfiddle, this happens with Jquery 1.4+ (works fine in Jquery 1.2 and 1.3).
I initially discovered the bug while using Jquery UI position but pinpointed it to jquery setOffset function.
It works fine with IE8 and FF3.6.