From a2fea3cbd3802a8b8eb58889e00b45ca12b4b147 Mon Sep 17 00:00:00 2001 From: "vidur%netscape.com" Date: Wed, 12 May 1999 23:22:36 +0000 Subject: [PATCH] Fix for bug 4435. Creating the right type of script object for blockquote. --- dom/src/build/nsDOMFactory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom/src/build/nsDOMFactory.cpp b/dom/src/build/nsDOMFactory.cpp index 585e97bc332b..a09e69bd0cd9 100644 --- a/dom/src/build/nsDOMFactory.cpp +++ b/dom/src/build/nsDOMFactory.cpp @@ -453,6 +453,7 @@ nsDOMScriptObjectFactory::NewScriptElement(const nsString &aTagName, return NS_NewScriptHTMLParamElement(aContext, aElement, aParent, aReturn); case DOMHTMLTag_pre: return NS_NewScriptHTMLPreElement(aContext, aElement, aParent, aReturn); + case DOMHTMLTag_blockquote: case DOMHTMLTag_q: return NS_NewScriptHTMLQuoteElement(aContext, aElement, aParent, aReturn); case DOMHTMLTag_script: @@ -483,7 +484,6 @@ nsDOMScriptObjectFactory::NewScriptElement(const nsString &aTagName, return NS_NewScriptHTMLTitleElement(aContext, aElement, aParent, aReturn); case DOMHTMLTag_ul: return NS_NewScriptHTMLUListElement(aContext, aElement, aParent, aReturn); - case DOMHTMLTag_blockquote: case DOMHTMLTag_fieldset: case DOMHTMLTag_ilayer: case DOMHTMLTag_layer: