Comments added to content model. Comments and text content now have a special tagname

This commit is contained in:
vidur@netscape.com
1999-01-22 22:48:00 +00:00
parent cb51ba1c2a
commit 4c32ebf0f0
29 changed files with 231 additions and 35 deletions

View File

@@ -43,6 +43,7 @@
#include "nsIEventStateManager.h"
#include "nsIFocusTracker.h"
#include "nsHTMLParts.h"
#include "nsLayoutAtoms.h"
// Some Misc #defines
#define SELECTION_DEBUG 0
@@ -1609,7 +1610,7 @@ nsFrame::MakeFrameName(const char* aType, nsString& aResult) const
if (nsnull != mContent) {
nsIAtom* tag;
mContent->GetTag(tag);
if (tag != nsnull) {
if ((tag != nsnull) && (tag != nsLayoutAtoms::textTagName)) {
aResult.Append("(");
nsAutoString buf;
tag->ToString(buf);