Skip to main content

Bug Tracker

Side navigation

#12200 closed bug (cantfix)

Opened August 05, 2012 07:17AM UTC

Closed October 26, 2012 09:22PM UTC

Last modified March 06, 2013 09:21PM UTC

Offset returns wrong values in IE9 when parent element has :first-line pseudo

Reported by: dumbdrum@gmail.com 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/

Attachments (0)
Change History (5)

Changed August 21, 2012 01:22AM UTC by dmethvin comment:1

component: unfiledoffset
keywords: → ie9
priority: undecidedlow
status: newopen

Very good test case!

Changed October 26, 2012 08:51PM UTC by DFoxinator comment:2

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/

Changed October 26, 2012 09:22PM UTC by mikesherov comment:3

cc: → demthvin
resolution: → cantfix
status: openclosed

dmethvin, can you spin this up to Microsoft? Thanks!

Changed October 30, 2012 09:12PM UTC by dmethvin comment:4

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

Changed March 06, 2013 09:21PM UTC by dmethvin comment:5

cc: demthvindmethvin
keywords: ie9ie9 ie10

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