XML DOM .removeAttr() doesn't remove cased attributes
|Reported by:||adebree||Owned by:||dmethvin|
In case of an XML DOM the .removeAttr() function doesn't remove cased attributes. XML is case sensitive so attributes provided with uppercase should be handled accordingly.
jsFiddle with the reproduction: http://jsfiddle.net/23w2d/
This problem seems to be introduced in 1.7, caused by an unconditioned .toLowerCase() in the removeAttr().
Pull request with the fix will be made after this ticket is created.
Change History (5)
comment:4 Changed 5 years ago by
|Component:||unfiled → attributes|
|Milestone:||None → 1.8|
|Priority:||undecided → low|