#6011 closed bug (duplicate)
ui.position calculation broken in all IE and webkit browsers
Reported by: | mmahoney | Owned by: | |
---|---|---|---|
Priority: | critical | Milestone: | |
Component: | ui.position | Version: | 1.8.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
The ui.position feature does not work at all in anything but Firefox(version 3.6 was used in testing.). These were on a Windows XP machine.
A simple test case is attached with three divs, which attempts to place the third div absolutely positioned to the left and bottom of the second div.
In Chrome 5, position will be top: 0px and left: 0px
In IE 7 and 8, position will be top: 0px and left: 0px
Did not test IE 6, but I assume it is also incorrect.
For more fun, try setting a width, particularly a percentage. Again, Firefox works as expected, but Chrome and IE produce wildly incorrect values.
This behavior is consistently reproducible. I've done several other test cases, with height, width, and content differences. Firefox, OK. Others, broken.
HTML file with simple test case