Index: Source/core/dom/custom/CustomElement.cpp |
diff --git a/Source/core/dom/custom/CustomElement.cpp b/Source/core/dom/custom/CustomElement.cpp |
index a2a150cc0d57e7c56f0dcd2b9e9b980c99114a42..fb70e4fef4bcc9b0484e100f4c1b2a6730d19569 100644 |
--- a/Source/core/dom/custom/CustomElement.cpp |
+++ b/Source/core/dom/custom/CustomElement.cpp |
@@ -71,7 +71,9 @@ bool CustomElement::isValidName(const AtomicString& name, NameSet validNames) |
DEFINE_STATIC_LOCAL(Vector<AtomicString>, reservedNames, ()); |
if (reservedNames.isEmpty()) { |
reservedNames.append(MathMLNames::annotation_xmlTag.localName()); |
- reservedNames.append(SVGNames::color_profileTag.localName()); |
+ // In principle, "color-profile" should exist in the SVGNames |
+ // namespace, but we don't implement the color-profile element. |
+ reservedNames.append("color-profile"); |
reservedNames.append(SVGNames::font_faceTag.localName()); |
reservedNames.append(SVGNames::font_face_srcTag.localName()); |
reservedNames.append(SVGNames::font_face_uriTag.localName()); |