#12200 closed bug (cantfix)
Offset returns wrong values in IE9 when parent element has :first-line pseudo
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | offset | Version: | 1.7.2 |
Keywords: | ie9 ie10 | Cc: | dmethvin |
Blocked by: | Blocking: |
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 (5)
comment:1 Changed 10 years ago by
Component: | unfiled → offset |
---|---|
Keywords: | ie9 added |
Priority: | undecided → low |
Status: | new → open |
comment:2 Changed 10 years ago by
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 10 years ago by
Cc: | demthvin added |
---|---|
Resolution: | → cantfix |
Status: | open → closed |
dmethvin, can you spin this up to Microsoft? Thanks!
comment:4 Changed 10 years ago by
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
comment:5 Changed 10 years ago by
Cc: | dmethvin added; demthvin removed |
---|---|
Keywords: | ie10 added |
Doesn't look like this got fixed for IE10, let's hope for IE11. There's still no reasonable way for us to detect/fix and it's an edge case, so the resolution stands
Very good test case!