Fixed a crash by making sure that the CNavDTD and nsHTMLContentSink stacjs are synchronized when handling FORM. b=133410, r=heikki, sr=jst, a=adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119417 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -630,6 +630,7 @@ nsresult nsHTMLTokenizer::ConsumeAttributes(PRUnichar aChar,
|
||||
PRBool isUsableAttr = PR_TRUE;
|
||||
const nsAString& key=theToken->GetKey();
|
||||
const nsAString& text=theToken->GetValue();
|
||||
|
||||
// support XML like syntax to fix bugs like 44186
|
||||
if(!key.IsEmpty() && kForwardSlash==key.First() && text.IsEmpty()) {
|
||||
isUsableAttr = PRBool(mFlags & NS_IPARSER_FLAG_VIEW_SOURCE); // Fix bug 103095
|
||||
|
||||
Reference in New Issue
Block a user