Ticket #12200 (closed bug: cantfix)
Offset returns wrong values in IE9 when parent element has :first-line pseudo
| Reported by: | dumbdrum@… | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | None |
| Component: | offset | Version: | 1.7.2 |
| Keywords: | ie9 ie10 | Cc: | dmethvin |
| Blocking: | Blocked by: |
Description
In IE9, if the parent element has the pseudo class :first-line, jQuery's offset() will return incorrect values. The values appears to be the window's offset. I have a fiddle.. http://jsfiddle.net/TheSharpieOne/g8RFp/
Change History
comment:1 Changed 9 months ago by dmethvin
- Keywords ie9 added
- Priority changed from undecided to low
- Status changed from new to open
- Component changed from unfiled to offset
comment:2 Changed 7 months ago by DFoxinator
This seems like it might be a "can't fix" because the actual issue is in the native getBoundingClientRect method in IE9 and IE10, which offset relies on.
Here's a fiddle with getBoundingClientRect used: http://jsfiddle.net/g8RFp/11/
comment:3 Changed 7 months ago by mikesherov
- Cc demthvin added
- Status changed from open to closed
- Resolution set to cantfix
dmethvin, can you spin this up to Microsoft? Thanks!
comment:4 Changed 7 months ago by dmethvin
Link to IE bug feedback, you'll need to login with a Windows Live account to see it: https://connect.microsoft.com/IE/feedback/details/769198
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

Very good test case!