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

git-svn-id: svn://10.0.0.236/trunk@18362 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
vidur%netscape.com
1999-01-22 22:48:00 +00:00
parent bb9e8f162b
commit ea2adbea24
29 changed files with 231 additions and 35 deletions

View File

@@ -71,6 +71,7 @@ nsIAtom* nsHTMLAtoms::colgroup;
nsIAtom* nsHTMLAtoms::cols;
nsIAtom* nsHTMLAtoms::colspan;
nsIAtom* nsHTMLAtoms::columnPseudo;
nsIAtom* nsHTMLAtoms::commentPseudo;
nsIAtom* nsHTMLAtoms::compact;
nsIAtom* nsHTMLAtoms::content;
nsIAtom* nsHTMLAtoms::coords;
@@ -314,6 +315,7 @@ void nsHTMLAtoms::AddrefAtoms()
cols = NS_NewAtom("COLS");
colspan = NS_NewAtom("COLSPAN");
columnPseudo = NS_NewAtom(":BODY-COLUMN");
commentPseudo = NS_NewAtom(":MOZ-COMMENT");
compact = NS_NewAtom("COMPACT");
content = NS_NewAtom("CONTENT");
coords = NS_NewAtom("COORDS");
@@ -473,7 +475,7 @@ void nsHTMLAtoms::AddrefAtoms()
thead = NS_NewAtom("THEAD");
text = NS_NewAtom("TEXT");
textarea = NS_NewAtom("TEXTAREA");
textPseudo = NS_NewAtom(":TEXT");
textPseudo = NS_NewAtom(":MOZ-TEXT");
th = NS_NewAtom("TH");
title = NS_NewAtom("TITLE");
top = NS_NewAtom("TOP");
@@ -553,6 +555,7 @@ void nsHTMLAtoms::ReleaseAtoms()
NS_RELEASE(cols);
NS_RELEASE(colspan);
NS_RELEASE(columnPseudo);
NS_RELEASE(commentPseudo);
NS_RELEASE(compact);
NS_RELEASE(content);
NS_RELEASE(coords);