.removeAttr( "id" ) sometimes crashes IE 7
|Reported by:||scottgonzalez||Owned by:|
I can't really describe this any better than the raw code from the test case does but...
If you clone an element and then call .removeAttr( "id" ) everything is fine. If you repeat the cloning and removal of the attribute, everything is still fine. However, if you first query for one of its ancestors, and then query from there for a descendant, IE 7 will crash.
I haven't attempted to reduce this any further, e.g., querying for a non-existent descendant, or querying by something other than id.
This exists in 1.6.x and master and seems to only affect IE 7 (even IE 6 is fine).
Test case: http://jsfiddle.net/r6zFU/1/
Change History (7)
comment:2 Changed 6 years ago by timmywil
- Component changed from unfiled to attributes
- Milestone changed from None to 1.next
- Priority changed from undecided to high