106746 - Do not allow DD to contain DT and vice versa.

103095 - Ignore forward slash, in short hand tags, in html.
96861 - Ignore nested FORMS.
94269 - Do not allow P to contain FORM.
84592 - Ignore body after FRAMESET.

r=heikki, sr=jst


git-svn-id: svn://10.0.0.236/trunk@110029 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
harishd%netscape.com
2001-12-07 21:33:12 +00:00
parent f3abd8769b
commit 463de5eab2
8 changed files with 32 additions and 26 deletions

View File

@@ -629,7 +629,7 @@ nsresult nsHTMLTokenizer::ConsumeAttributes(PRUnichar aChar,CStartToken* aToken,
// support XML like syntax to fix bugs like 44186
if(!key.IsEmpty() && kForwardSlash==key.First() && text.IsEmpty()) {
aToken->SetEmpty(PR_TRUE);
isUsableAttr = !(mFlags & NS_IPARSER_FLAG_STRICT_MODE);
isUsableAttr = PR_FALSE; // Fix bug 103095
}
if(isUsableAttr) {
theAttrCount++;