Modify ↓
Ticket #9554 (closed bug: worksforme)
offset() fails in Chrome 12
| Reported by: | speednet | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | 1.next |
| Component: | offset | Version: | 1.6.1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
Elements without CSS positioning return an .offset().top of zero (0).
I created a JS Fiddle demonstrating this: http://jsfiddle.net/Speednet/ZVVfM/1/
Chrome 12 (12.0.742.91) reports zero(0) for .offset().top, all other browsers report 495.
Change History
comment:2 Changed 2 years ago by rwaldron
- Priority changed from undecided to low
- Resolution set to worksforme
- Status changed from new to closed
- Component changed from unfiled to offset
This appears to be fixed in Chrome 13 (dev)
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Update: Opera and Safari report 510 for the top, and IE and Firefox report 495. But Chrome 12 reports 0. Just to be precise!