mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Fix for bug 4435. Creating the right type of script object for blockquote.
This commit is contained in:
parent
b81e19d906
commit
a2fea3cbd3
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user