* khtml/xml/dom_docimpl.cpp:
(DocumentImpl::createHTMLElement):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8075
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2004-11-22 David Hyatt <hyatt@apple.com>
+
+ Make sure you can use document.createElement to make a <canvas> element.
+
+ * khtml/xml/dom_docimpl.cpp:
+ (DocumentImpl::createHTMLElement):
+
2004-11-22 Maciej Stachowiak <mjs@apple.com>
Reviewed by Dave.
#include "html/html_baseimpl.h"
#include "html/html_blockimpl.h"
+#include "html/html_canvasimpl.h"
#include "html/html_documentimpl.h"
#include "html/html_formimpl.h"
#include "html/html_headimpl.h"
case ID_AREA:
n = new HTMLAreaElementImpl(docPtr());
break;
+ case ID_CANVAS:
+ n = new HTMLCanvasElementImpl(docPtr());
+ break;
// objects, applets and scripts
case ID_APPLET: