Side navigation
#11056 closed bug (notabug)
Opened December 18, 2011 04:40PM UTC
Closed November 24, 2012 10:49PM UTC
1.7.1 incorrect length as result of manipulation in IE7*
| Reported by: | rwaldron | Owned by: | rwaldron | 
|---|---|---|---|
| Priority: | high | Milestone: | 1.next | 
| Component: | manipulation | Version: | 1.7.1 | 
| Keywords: | ie7 | Cc: | |
| Blocked by: | Blocking: | 
Description
See: https://github.com/aFarkas/html5shiv/issues/17#issuecomment-3195205
jQuery('<div />').after('<span />').length // will return 1 (only div) not 2Attachments (0)
Change History (7)
Changed December 18, 2011 04:41PM UTC by comment:1
| component: | unfiled → manipulation | 
|---|---|
| milestone: | None → 1.next | 
| owner: | → rwaldron | 
| priority: | undecided → high | 
| status: | new → assigned | 
Changed December 18, 2011 11:55PM UTC by comment:2
git bisect identified this commit: https://github.com/jquery/jquery/commit/6c2a501de40a5f6b3ad382e2d309e5a10fce04d0
Changed July 05, 2012 07:55PM UTC by comment:3
@rwaldron, your fiddle seems to be reporting the correct results in chrome on all versions of jquery >1.6.4. Is this specific to a certain browser?
Changed July 05, 2012 09:41PM UTC by comment:4
I am soooo glad someone else has ticket-browser-blindness, happens to me about once a month. It says IE7 up there in the big letters. :) Does seem to be failing in IE7.
Changed July 25, 2012 01:33AM UTC by comment:5
| keywords: | → ie7 | 
|---|
Changed September 17, 2012 02:13AM UTC by comment:6
Confirming that this still exists. http://jsfiddle.net/rwaldron/C7Ymd/
Changed November 24, 2012 10:49PM UTC by comment:7
| resolution: | → notabug | 
|---|---|
| status: | assigned → closed | 
We've removed the magical ".after() adds to the collection if the elements are disconnected" behavior in 1.9 so this bug is invalid now. The upgrade guide will explain why.