mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
Fix for bug#6716. For handling multiple <BODY> tags in a document.
(R) rickg, (A) chofmann
This commit is contained in:
parent
fb3029c9ae
commit
267334286a
@ -1753,8 +1753,6 @@ HTMLContentSink::OpenBody(const nsIParserNode& aNode)
|
||||
nsIScriptContextOwner* sco = mDocument->GetScriptContextOwner();
|
||||
AddAttributes(aNode,mBody,sco,PR_TRUE);
|
||||
NS_IF_RELEASE(sco);
|
||||
NS_ADDREF(mBody);
|
||||
mCurrentContext->mStackPos++;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
@ -1753,8 +1753,6 @@ HTMLContentSink::OpenBody(const nsIParserNode& aNode)
|
||||
nsIScriptContextOwner* sco = mDocument->GetScriptContextOwner();
|
||||
AddAttributes(aNode,mBody,sco,PR_TRUE);
|
||||
NS_IF_RELEASE(sco);
|
||||
NS_ADDREF(mBody);
|
||||
mCurrentContext->mStackPos++;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user