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

Unified Diff: third_party/WebKit/Source/core/dom/Element.cpp

Issue 2092703002: Support Custom Elements v1 in attachShadow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « third_party/WebKit/LayoutTests/shadow-dom/attach-shadow-safelist.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/Element.cpp
diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp
index 5a811b2ddd4d14c8c46e4e5adbfe5ca99e2fa5c9..d60418fc0621c83708f1cb70e3a579755d2d42e8 100644
--- a/third_party/WebKit/Source/core/dom/Element.cpp
+++ b/third_party/WebKit/Source/core/dom/Element.cpp
@@ -1937,6 +1937,7 @@ ShadowRoot* Element::attachShadow(const ScriptState* scriptState, const ShadowRo
const AtomicString& tagName = localName();
bool tagNameIsSupported = isV0CustomElement()
+ || isCustomElement()
|| tagName == HTMLNames::articleTag
|| tagName == HTMLNames::asideTag
|| tagName == HTMLNames::blockquoteTag
« no previous file with comments | « third_party/WebKit/LayoutTests/shadow-dom/attach-shadow-safelist.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698