Ticket #8022 (closed bug: invalid)
.offset() and .css("top")/.css("left") do not work properly when element is hidden
|Reported by:||Senator||Owned by:||Senator|
If an element is hidden ("display" property has the "none" value), I cannot get its position as both .offset() and .css() methods return 0.
Interestingly, both methods do not work in Firefox (3.6.13 in my case) and IE (9.0.7930) but they do work correctly in Chrome (10.0.634.0) and Opera (11.00). It seems therefore that the problem is browser-specific.
- Owner set to Senator
- Priority changed from undecided to low
- Status changed from new to pending
- Component changed from unfiled to css