summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLTableCaptionElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLTableCaptionElement.cpp')
-rw-r--r--WebCore/html/HTMLTableCaptionElement.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/WebCore/html/HTMLTableCaptionElement.cpp b/WebCore/html/HTMLTableCaptionElement.cpp
index b6c9c73..35cf8a1 100644
--- a/WebCore/html/HTMLTableCaptionElement.cpp
+++ b/WebCore/html/HTMLTableCaptionElement.cpp
@@ -1,6 +1,4 @@
/**
- * This file is part of the DOM implementation for KDE.
- *
* Copyright (C) 1997 Martin Jones (mjones@kde.org)
* (C) 1997 Torben Weis (weis@kde.org)
* (C) 1998 Waldo Bastian (bastian@kde.org)
@@ -33,9 +31,10 @@ namespace WebCore {
using namespace HTMLNames;
-HTMLTableCaptionElement::HTMLTableCaptionElement(Document *doc)
- : HTMLTablePartElement(captionTag, doc)
+HTMLTableCaptionElement::HTMLTableCaptionElement(const QualifiedName& tagName, Document *doc)
+ : HTMLTablePartElement(tagName, doc)
{
+ ASSERT(hasTagName(captionTag));
}
bool HTMLTableCaptionElement::mapToEntry(const QualifiedName& attrName, MappedAttributeEntry& result) const