Side navigation
#11100 closed bug (invalid)
Opened December 24, 2011 02:13PM UTC
Closed December 24, 2011 02:47PM UTC
Inconsistent Results when Appending to Collection Created from String
Reported by: | jugglinmike | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.7.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When a collection contains an element that cannot be appended to (i.e. style, img, br), $.fn.append will throw an error in IE 6, 7, and 8 (but not in, for instance: IE 9, Firefox 3+, Chrome 16, or Safari 4).
Attachments (0)
Change History (1)
Changed December 24, 2011 02:47PM UTC by comment:1
resolution: | → invalid |
---|---|
status: | new → closed |
The result of doing something invalid is undefined and can certainly differ across browsers. I actually wish all browsers threw errors for this, so it would be easier for people to find their mistakes.