Refactoring: Remove Node::isContentElement and Node::isShadowElement.
https://bugs.webkit.org/show_bug.cgi?id=80501
Reviewed by Hajime Morita.
Removes Node::isContentElement and Node::isShadowElement. These methods are replaced
by hasTagName. However the tag name of HTMLContentElement was not consistent,
this patch make them consistent.
No new tests. Should be covered by existing tests.
* dom/Node.h:
* html/HTMLElement.h:
(WebCore::HTMLElement::isInsertionPoint):
(HTMLElement):
* html/HTMLSummaryElement.cpp:
(WebCore::SummaryContentElement::SummaryContentElement):
It uses HTMLNames::divTag as tagname. It should use HTMLNames::webkitShadowTagName.
* html/shadow/HTMLContentElement.h:
(HTMLContentElement):
* html/shadow/InsertionPoint.h:
(InsertionPoint):
(WebCore::InsertionPoint::isInsertionPoint):
(WebCore::isInsertionPoint):
* testing/Internals.cpp:
(WebCore::Internals::isValidContentSelect):
* testing/Internals.h:
(Internals):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@110151 268f45cc-cd09-0410-ab3c-d52691b4dbfc
8 files changed