XBL groundwork for 41145. r=ben

git-svn-id: svn://10.0.0.236/trunk@72849 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
hyatt%netscape.com
2000-06-22 00:36:19 +00:00
parent 14f60387b7
commit b4f657bd5d
14 changed files with 516 additions and 262 deletions

View File

@@ -6065,6 +6065,14 @@ nsCSSFrameConstructor::ConstructXULFrame(nsIPresShell* aPresShell,
rv = NS_NewGrippyFrame(aPresShell, &newFrame);
}
// End of GRIPPY CONSTRUCTION logic
else if (aTag != nsHTMLAtoms::html) {
nsCAutoString str("Invalid XUL tag encountered in file. Perhaps you used the wrong namespace?\n\nThe tag name is ");
nsAutoString tagName;
aTag->ToString(tagName);
str.AppendWithConversion(tagName);
NS_ERROR(str);
}
}
// If we succeeded in creating a frame then initialize it, process its