Fixed setting attributes for XML fragments. Fixes #12048 #965

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
Contributor

saiwong commented Oct 15, 2012

XML fragments in IE <=8 that has not been attached to a DOM throws a
Type Mismatch when adding an attribute created using
document.createAttribute. Instead,
elem.ownerDocument.createAttribute is used.

Fixed setting attributes for XML fragments. Fixes #12048
XML fragments in IE <=8 that has not been attached to a DOM throws a
`Type Mismatch` when adding an attribute created using
`document.createAttribute`. Instead,
`elem.ownerDocument.createAttribute` is used.

@dmethvin dmethvin closed this in 2b0e720 Oct 20, 2012

mescoda pushed a commit to mescoda/jquery that referenced this pull request Nov 4, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment