summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLHeadElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLHeadElement.cpp')
-rw-r--r--WebCore/html/HTMLHeadElement.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/WebCore/html/HTMLHeadElement.cpp b/WebCore/html/HTMLHeadElement.cpp
index c57cc2f..8218311 100644
--- a/WebCore/html/HTMLHeadElement.cpp
+++ b/WebCore/html/HTMLHeadElement.cpp
@@ -47,21 +47,4 @@ PassRefPtr<HTMLHeadElement> HTMLHeadElement::create(const QualifiedName& tagName
return adoptRef(new HTMLHeadElement(tagName, document));
}
-bool HTMLHeadElement::childAllowed(Node* newChild)
-{
- // Do not allow non-whitespace text nodes in the head
- if (newChild->isTextNode())
- return static_cast<Text*>(newChild)->containsOnlyWhitespace();
-
- return HTMLElement::childAllowed(newChild);
-}
-
-bool HTMLHeadElement::checkDTD(const Node* newChild)
-{
- return newChild->hasTagName(noscriptTag) || newChild->hasTagName(titleTag) || newChild->hasTagName(isindexTag) ||
- newChild->hasTagName(baseTag) || newChild->hasTagName(scriptTag) ||
- newChild->hasTagName(styleTag) || newChild->hasTagName(metaTag) ||
- newChild->hasTagName(linkTag) || newChild->isTextNode();
-}
-
}