Ticket #11056 (closed bug: notabug)
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: | |
| Blocking: | Blocked by: |
Description
See: https://github.com/aFarkas/html5shiv/issues/17#issuecomment-3195205
jQuery('<div />').after('<span />').length // will return 1 (only div) not 2
Change History
comment:1 Changed 17 months ago by rwaldron
- Owner set to rwaldron
- Priority changed from undecided to high
- Status changed from new to assigned
- Component changed from unfiled to manipulation
- Milestone changed from None to 1.next
comment:2 Changed 17 months ago by rwaldron
git bisect identified this commit: https://github.com/jquery/jquery/commit/6c2a501de40a5f6b3ad382e2d309e5a10fce04d0
comment:3 Changed 11 months ago by mikesherov
@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?
comment:4 Changed 11 months ago by dmethvin
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.
comment:6 Changed 8 months ago by rwaldron
Confirming that this still exists. http://jsfiddle.net/rwaldron/C7Ymd/
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
