Regressed getAttribute returns null for attributes created with setAttributeNode and containing upper-case characters in name

Published: | Categories: DOM

Description

Firefox 38 has changed the implementation of the Element.setAttributeNode method to align with the spec. As the side effect, the Element.getAttribute method can no longer access attributes and returns null, if those are created with setAttributeNode, set with NamedNodeMap.setNamedItem, and containing one or more upper-case characters in the attribute name. After breaking a couple of sites, this issue has been fixed with Firefox 39 by backing out the original change.

References