Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(730)

Unified Diff: Source/core/dom/custom/CustomElementRegistrationContext.cpp

Issue 442343002: Creating custom element should not be case sensitive (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressing Comments Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« Source/core/dom/Document.cpp ('K') | « Source/core/dom/Document.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/custom/CustomElementRegistrationContext.cpp
diff --git a/Source/core/dom/custom/CustomElementRegistrationContext.cpp b/Source/core/dom/custom/CustomElementRegistrationContext.cpp
index da7d6229d2f2cd42e72fc2a024109a42f81c9bf2..e72629c44563d73094b301d4d3bfbe0cfaa38ff9 100644
--- a/Source/core/dom/custom/CustomElementRegistrationContext.cpp
+++ b/Source/core/dom/custom/CustomElementRegistrationContext.cpp
@@ -152,7 +152,7 @@ void CustomElementRegistrationContext::setTypeExtension(Element* element, const
return;
element->setCustomElementState(Element::WaitingForUpgrade);
- context->didGiveTypeExtension(element, type);
+ context->didGiveTypeExtension(element, type.lower());
esprehn 2014/08/13 07:01:10 Isn't this specific to the document type (html vs
deepak.sa 2014/08/13 12:44:38 Done.
}
void CustomElementRegistrationContext::trace(Visitor* visitor)
« Source/core/dom/Document.cpp ('K') | « Source/core/dom/Document.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698