Index: Source/core/dom/Element.cpp |
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp |
index 47c62a809afdd5c88b0cf10b0e9bf2bcc220baaa..f567ebacd4e67c3e18a62889f99aa48cce7b94f7 100644 |
--- a/Source/core/dom/Element.cpp |
+++ b/Source/core/dom/Element.cpp |
@@ -2368,7 +2368,9 @@ const AtomicString& Element::shadowPseudoId() const |
void Element::setShadowPseudoId(const AtomicString& id) |
{ |
- ASSERT(CSSSelector::parsePseudoType(id, false) == CSSSelector::PseudoWebKitCustomElement || CSSSelector::parsePseudoType(id, false) == CSSSelector::PseudoUserAgentCustomElement); |
+ ASSERT(CSSSelector::parsePseudoType(id, false) == CSSSelector::PseudoInternalCustomElement |
+ || CSSSelector::parsePseudoType(id, false) == CSSSelector::PseudoUserAgentCustomElement |
+ || CSSSelector::parsePseudoType(id, false) == CSSSelector::PseudoWebKitCustomElement); |
setAttribute(pseudoAttr, id); |
} |