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: