Side navigation
#12139 closed bug (fixed)
Opened July 25, 2012 03:40AM UTC
Closed October 26, 2012 04:41PM UTC
ie7 offsetParent bug
Reported by: | sexnothing@gmail.com | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | offset | Version: | 1.8.0 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
$("<div>").css({"position":"absolute"}).appendTo(document.body).offsetParent()[0].tagName in ie6 7
it return "HTML",not "BODY".
Attachments (0)
Change History (4)
Changed July 25, 2012 03:44AM UTC by comment:1
Changed August 14, 2012 11:04AM UTC by comment:2
component: | unfiled → offset |
---|---|
priority: | undecided → low |
status: | new → open |
version: | 1.7.2 → 1.8.0 |
Confirmed.
Other browsers return 'body', which is the correct element to return.
Changed August 15, 2012 01:01AM UTC by comment:3
Replying to [comment:2 sindresorhus]:
Confirmed. Other browsers return 'body', which is the correct element to return. Spec: http://www.w3.org/TR/cssom-view/#offset-attributes
in version 1.8.0,it don't fix this bug at ie7,it still return "HTML" not "BODY",i don't kown why
http://jsfiddle.net/kQWW8/embedded/result/