Index: Source/core/dom/Element.cpp |
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp |
index 88c62a904d844a492aa38be6c2499b0bccb913ae..2408c1d5fac57054f2b4adce2fc712e4d4d51acb 100644 |
--- a/Source/core/dom/Element.cpp |
+++ b/Source/core/dom/Element.cpp |
@@ -1837,7 +1837,7 @@ PassRefPtr<Attr> Element::setAttributeNode(Attr* attrNode, ExceptionState& es) |
synchronizeAllAttributes(); |
UniqueElementData* elementData = ensureUniqueElementData(); |
- size_t index = elementData->getAttributeItemIndex(attrNode->qualifiedName()); |
+ size_t index = elementData->getAttributeItemIndex(attrNode->qualifiedName(), shouldIgnoreAttributeCase(this)); |
if (index != notFound) { |
if (oldAttrNode) |
detachAttrNodeFromElementWithValue(oldAttrNode.get(), elementData->attributeItem(index)->value()); |