summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLHtmlElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLHtmlElement.cpp')
-rw-r--r--WebCore/html/HTMLHtmlElement.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/WebCore/html/HTMLHtmlElement.cpp b/WebCore/html/HTMLHtmlElement.cpp
index 4ed2400..d4867a4 100644
--- a/WebCore/html/HTMLHtmlElement.cpp
+++ b/WebCore/html/HTMLHtmlElement.cpp
@@ -53,10 +53,8 @@ void HTMLHtmlElement::setVersion(const String &value)
bool HTMLHtmlElement::checkDTD(const Node* newChild)
{
- // FIXME: Why is <script> allowed here?
return newChild->hasTagName(headTag) || newChild->hasTagName(bodyTag) ||
- newChild->hasTagName(framesetTag) || newChild->hasTagName(noframesTag) ||
- newChild->hasTagName(scriptTag);
+ newChild->hasTagName(framesetTag) || newChild->hasTagName(noframesTag);
}
#if ENABLE(OFFLINE_WEB_APPLICATIONS)