.position().left incorrect in Chromium (possibly webkit)
|Reported by:||Anverc||Owned by:|
Problem: Getting the position of a centered img element returns an incorrect .left in chrome (haven't tested other webkit browsers).
see http://bennyland.com/test.html for a stripped down version of the bug I'm seeing (and then resize the window) for an example. You'll notice a red box show up once you resize the window - in IE and FF, this red box is centered over the top of the image, in Chrome, the red box is all the way to the left - this is because position().left is returning "10".
note: I was hopeful that http://dev.jquery.com/ticket/4263 would solve the problem, however I implemented that changelist on a different (non stripped) test and the problem was still there.
note2: I've also attached a zip which contains the example files from bennyland.com
Change History (3)
comment:2 Changed 6 years ago by rwaldron
- Milestone changed from 1.4 to 1.4.5
- Priority changed from major to low
- Status changed from new to open