From 96d1cf3f2e4eda9668dd681edfc190769ec0f721 Mon Sep 17 00:00:00 2001 From: "mrbkap%gmail.com" Date: Fri, 16 Jun 2006 19:13:17 +0000 Subject: [PATCH] Quiet this warning for the one known case that it fires since we do a passable job of handling this case anyway. bug 341320, r+sr=sicking --- content/html/document/src/nsHTMLContentSink.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/html/document/src/nsHTMLContentSink.cpp b/content/html/document/src/nsHTMLContentSink.cpp index 707b1975484..d1ecdad73e5 100644 --- a/content/html/document/src/nsHTMLContentSink.cpp +++ b/content/html/document/src/nsHTMLContentSink.cpp @@ -1193,7 +1193,7 @@ SinkContext::CloseContainer(const nsHTMLTag aTag, PRBool aMalformed) --mStackPos; nsHTMLTag nodeType = mStack[mStackPos].mType; - NS_ASSERTION(nodeType == aTag, + NS_ASSERTION(nodeType == eHTMLTag_form || nodeType == aTag, "Tag mismatch. Closing tag on wrong context or something?"); nsGenericHTMLElement* content = mStack[mStackPos].mContent;