This commit is contained in:
kipp%netscape.com 1998-09-02 01:08:32 +00:00
Родитель 0564946aae
Коммит 7a44d1de70
6 изменённых файлов: 144 добавлений и 0 удалений

Просмотреть файл

@ -17,9 +17,12 @@
*/ */
#include "nsHTMLAtoms.h" #include "nsHTMLAtoms.h"
// XXX make this be autogenerated. doh!
nsIAtom* nsHTMLAtoms::_baseHref; nsIAtom* nsHTMLAtoms::_baseHref;
nsIAtom* nsHTMLAtoms::_baseTarget; nsIAtom* nsHTMLAtoms::_baseTarget;
nsIAtom* nsHTMLAtoms::a; nsIAtom* nsHTMLAtoms::a;
nsIAtom* nsHTMLAtoms::abbr;
nsIAtom* nsHTMLAtoms::above; nsIAtom* nsHTMLAtoms::above;
nsIAtom* nsHTMLAtoms::accept; nsIAtom* nsHTMLAtoms::accept;
nsIAtom* nsHTMLAtoms::acceptcharset; nsIAtom* nsHTMLAtoms::acceptcharset;
@ -31,6 +34,7 @@ nsIAtom* nsHTMLAtoms::alink;
nsIAtom* nsHTMLAtoms::alt; nsIAtom* nsHTMLAtoms::alt;
nsIAtom* nsHTMLAtoms::applet; nsIAtom* nsHTMLAtoms::applet;
nsIAtom* nsHTMLAtoms::archive; nsIAtom* nsHTMLAtoms::archive;
nsIAtom* nsHTMLAtoms::axis;
nsIAtom* nsHTMLAtoms::background; nsIAtom* nsHTMLAtoms::background;
nsIAtom* nsHTMLAtoms::below; nsIAtom* nsHTMLAtoms::below;
nsIAtom* nsHTMLAtoms::bgcolor; nsIAtom* nsHTMLAtoms::bgcolor;
@ -41,8 +45,10 @@ nsIAtom* nsHTMLAtoms::bottompadding;
nsIAtom* nsHTMLAtoms::br; nsIAtom* nsHTMLAtoms::br;
nsIAtom* nsHTMLAtoms::cellpadding; nsIAtom* nsHTMLAtoms::cellpadding;
nsIAtom* nsHTMLAtoms::cellspacing; nsIAtom* nsHTMLAtoms::cellspacing;
nsIAtom* nsHTMLAtoms::ch;
nsIAtom* nsHTMLAtoms::charset; nsIAtom* nsHTMLAtoms::charset;
nsIAtom* nsHTMLAtoms::checked; nsIAtom* nsHTMLAtoms::checked;
nsIAtom* nsHTMLAtoms::choff;
nsIAtom* nsHTMLAtoms::cite; nsIAtom* nsHTMLAtoms::cite;
nsIAtom* nsHTMLAtoms::kClass; nsIAtom* nsHTMLAtoms::kClass;
nsIAtom* nsHTMLAtoms::classid; nsIAtom* nsHTMLAtoms::classid;
@ -61,6 +67,7 @@ nsIAtom* nsHTMLAtoms::datetime;
nsIAtom* nsHTMLAtoms::data; nsIAtom* nsHTMLAtoms::data;
nsIAtom* nsHTMLAtoms::defer; nsIAtom* nsHTMLAtoms::defer;
nsIAtom* nsHTMLAtoms::defaultchecked; nsIAtom* nsHTMLAtoms::defaultchecked;
nsIAtom* nsHTMLAtoms::defaultselected;
nsIAtom* nsHTMLAtoms::defaultvalue; nsIAtom* nsHTMLAtoms::defaultvalue;
nsIAtom* nsHTMLAtoms::dir; nsIAtom* nsHTMLAtoms::dir;
nsIAtom* nsHTMLAtoms::disabled; nsIAtom* nsHTMLAtoms::disabled;
@ -83,6 +90,7 @@ nsIAtom* nsHTMLAtoms::h3;
nsIAtom* nsHTMLAtoms::h4; nsIAtom* nsHTMLAtoms::h4;
nsIAtom* nsHTMLAtoms::h5; nsIAtom* nsHTMLAtoms::h5;
nsIAtom* nsHTMLAtoms::h6; nsIAtom* nsHTMLAtoms::h6;
nsIAtom* nsHTMLAtoms::headers;
nsIAtom* nsHTMLAtoms::height; nsIAtom* nsHTMLAtoms::height;
nsIAtom* nsHTMLAtoms::hidden; nsIAtom* nsHTMLAtoms::hidden;
nsIAtom* nsHTMLAtoms::hover; nsIAtom* nsHTMLAtoms::hover;
@ -94,7 +102,9 @@ nsIAtom* nsHTMLAtoms::httpEquiv;
nsIAtom* nsHTMLAtoms::id; nsIAtom* nsHTMLAtoms::id;
nsIAtom* nsHTMLAtoms::iframe; nsIAtom* nsHTMLAtoms::iframe;
nsIAtom* nsHTMLAtoms::img; nsIAtom* nsHTMLAtoms::img;
nsIAtom* nsHTMLAtoms::index;
nsIAtom* nsHTMLAtoms::ismap; nsIAtom* nsHTMLAtoms::ismap;
nsIAtom* nsHTMLAtoms::label;
nsIAtom* nsHTMLAtoms::lang; nsIAtom* nsHTMLAtoms::lang;
nsIAtom* nsHTMLAtoms::li; nsIAtom* nsHTMLAtoms::li;
nsIAtom* nsHTMLAtoms::link; nsIAtom* nsHTMLAtoms::link;
@ -151,6 +161,8 @@ nsIAtom* nsHTMLAtoms::rightpadding;
nsIAtom* nsHTMLAtoms::rootContentPseudo; nsIAtom* nsHTMLAtoms::rootContentPseudo;
nsIAtom* nsHTMLAtoms::rows; nsIAtom* nsHTMLAtoms::rows;
nsIAtom* nsHTMLAtoms::rowspan; nsIAtom* nsHTMLAtoms::rowspan;
nsIAtom* nsHTMLAtoms::rules;
nsIAtom* nsHTMLAtoms::scope;
nsIAtom* nsHTMLAtoms::scrolling; nsIAtom* nsHTMLAtoms::scrolling;
nsIAtom* nsHTMLAtoms::selected; nsIAtom* nsHTMLAtoms::selected;
nsIAtom* nsHTMLAtoms::shape; nsIAtom* nsHTMLAtoms::shape;
@ -178,6 +190,7 @@ nsIAtom* nsHTMLAtoms::valign;
nsIAtom* nsHTMLAtoms::value; nsIAtom* nsHTMLAtoms::value;
nsIAtom* nsHTMLAtoms::valuetype; nsIAtom* nsHTMLAtoms::valuetype;
nsIAtom* nsHTMLAtoms::variable; nsIAtom* nsHTMLAtoms::variable;
nsIAtom* nsHTMLAtoms::version;
nsIAtom* nsHTMLAtoms::visibility; nsIAtom* nsHTMLAtoms::visibility;
nsIAtom* nsHTMLAtoms::visited; nsIAtom* nsHTMLAtoms::visited;
nsIAtom* nsHTMLAtoms::vlink; nsIAtom* nsHTMLAtoms::vlink;
@ -195,6 +208,7 @@ void nsHTMLAtoms::AddrefAtoms()
_baseHref = NS_NewAtom(NS_HTML_BASE_HREF); _baseHref = NS_NewAtom(NS_HTML_BASE_HREF);
_baseTarget = NS_NewAtom(NS_HTML_BASE_TARGET); _baseTarget = NS_NewAtom(NS_HTML_BASE_TARGET);
a = NS_NewAtom("A"); a = NS_NewAtom("A");
abbr = NS_NewAtom("ABBR");
above = NS_NewAtom("ABOVE"); above = NS_NewAtom("ABOVE");
accept = NS_NewAtom("ACCEPT"); accept = NS_NewAtom("ACCEPT");
acceptcharset = NS_NewAtom("ACCEPTCHARSET"); acceptcharset = NS_NewAtom("ACCEPTCHARSET");
@ -206,6 +220,7 @@ void nsHTMLAtoms::AddrefAtoms()
alt = NS_NewAtom("ALT"); alt = NS_NewAtom("ALT");
applet = NS_NewAtom("APPLET"); applet = NS_NewAtom("APPLET");
archive = NS_NewAtom("ARCHIVE"); archive = NS_NewAtom("ARCHIVE");
axis = NS_NewAtom("AXIS");
background = NS_NewAtom("BACKGROUND"); background = NS_NewAtom("BACKGROUND");
below = NS_NewAtom("BELOW"); below = NS_NewAtom("BELOW");
bgcolor = NS_NewAtom("BGCOLOR"); bgcolor = NS_NewAtom("BGCOLOR");
@ -216,8 +231,10 @@ void nsHTMLAtoms::AddrefAtoms()
br = NS_NewAtom("BR"); br = NS_NewAtom("BR");
cellpadding = NS_NewAtom("CELLPADDING"); cellpadding = NS_NewAtom("CELLPADDING");
cellspacing = NS_NewAtom("CELLSPACING"); cellspacing = NS_NewAtom("CELLSPACING");
ch = NS_NewAtom("CH");
charset = NS_NewAtom("CHARSET"); charset = NS_NewAtom("CHARSET");
checked = NS_NewAtom("CHECKED"); checked = NS_NewAtom("CHECKED");
choff = NS_NewAtom("CHOFF");
cite = NS_NewAtom("CITE"); cite = NS_NewAtom("CITE");
kClass = NS_NewAtom("CLASS"); kClass = NS_NewAtom("CLASS");
classid = NS_NewAtom("CLASSID"); classid = NS_NewAtom("CLASSID");
@ -233,6 +250,7 @@ void nsHTMLAtoms::AddrefAtoms()
content = NS_NewAtom("CONTENT"); content = NS_NewAtom("CONTENT");
coords = NS_NewAtom("COORDS"); coords = NS_NewAtom("COORDS");
defaultchecked = NS_NewAtom("DEFAULTCHECKED"); defaultchecked = NS_NewAtom("DEFAULTCHECKED");
defaultselected = NS_NewAtom("DEFAULTSELECTED");
defaultvalue = NS_NewAtom("DEFAULTVALUE"); defaultvalue = NS_NewAtom("DEFAULTVALUE");
defer = NS_NewAtom("DEFER"); defer = NS_NewAtom("DEFER");
dir = NS_NewAtom("DIR"); dir = NS_NewAtom("DIR");
@ -258,6 +276,7 @@ void nsHTMLAtoms::AddrefAtoms()
h4 = NS_NewAtom("H4"); h4 = NS_NewAtom("H4");
h5 = NS_NewAtom("H5"); h5 = NS_NewAtom("H5");
h6 = NS_NewAtom("H6"); h6 = NS_NewAtom("H6");
headers = NS_NewAtom("HEADERS");
height = NS_NewAtom("HEIGHT"); height = NS_NewAtom("HEIGHT");
hidden = NS_NewAtom("HIDDEN"); hidden = NS_NewAtom("HIDDEN");
hover = NS_NewAtom("HOVER"); hover = NS_NewAtom("HOVER");
@ -269,7 +288,9 @@ void nsHTMLAtoms::AddrefAtoms()
id = NS_NewAtom("ID"); id = NS_NewAtom("ID");
iframe = NS_NewAtom("IFRAME"); iframe = NS_NewAtom("IFRAME");
img = NS_NewAtom("IMG"); img = NS_NewAtom("IMG");
index = NS_NewAtom("INDEX");
ismap = NS_NewAtom("ISMAP"); ismap = NS_NewAtom("ISMAP");
label = NS_NewAtom("LABEL");
lang = NS_NewAtom("LANG"); lang = NS_NewAtom("LANG");
li = NS_NewAtom("LI"); li = NS_NewAtom("LI");
link = NS_NewAtom("LINK"); link = NS_NewAtom("LINK");
@ -325,6 +346,8 @@ void nsHTMLAtoms::AddrefAtoms()
rootContentPseudo = NS_NewAtom(":ROOT-CONTENT"); rootContentPseudo = NS_NewAtom(":ROOT-CONTENT");
rows = NS_NewAtom("ROWS"); rows = NS_NewAtom("ROWS");
rowspan = NS_NewAtom("ROWSPAN"); rowspan = NS_NewAtom("ROWSPAN");
rules = NS_NewAtom("RULES");
scope = NS_NewAtom("SCOPE");
scrolling = NS_NewAtom("SCROLLING"); scrolling = NS_NewAtom("SCROLLING");
selected = NS_NewAtom("SELECTED"); selected = NS_NewAtom("SELECTED");
shape = NS_NewAtom("SHAPE"); shape = NS_NewAtom("SHAPE");
@ -352,6 +375,7 @@ void nsHTMLAtoms::AddrefAtoms()
value = NS_NewAtom("VALUE"); value = NS_NewAtom("VALUE");
valuetype = NS_NewAtom("VALUETYPE"); valuetype = NS_NewAtom("VALUETYPE");
variable = NS_NewAtom("VARIABLE"); variable = NS_NewAtom("VARIABLE");
version = NS_NewAtom("VERSION");
visibility = NS_NewAtom("VISIBILITY"); visibility = NS_NewAtom("VISIBILITY");
visited = NS_NewAtom("VISITED"); visited = NS_NewAtom("VISITED");
vlink = NS_NewAtom("VLINK"); vlink = NS_NewAtom("VLINK");
@ -370,6 +394,7 @@ void nsHTMLAtoms::ReleaseAtoms()
NS_RELEASE(_baseHref); NS_RELEASE(_baseHref);
NS_RELEASE(_baseTarget); NS_RELEASE(_baseTarget);
NS_RELEASE(a); NS_RELEASE(a);
NS_RELEASE(abbr);
NS_RELEASE(above); NS_RELEASE(above);
NS_RELEASE(action); NS_RELEASE(action);
NS_RELEASE(active); NS_RELEASE(active);
@ -378,6 +403,7 @@ void nsHTMLAtoms::ReleaseAtoms()
NS_RELEASE(alt); NS_RELEASE(alt);
NS_RELEASE(applet); NS_RELEASE(applet);
NS_RELEASE(archive); NS_RELEASE(archive);
NS_RELEASE(axis);
NS_RELEASE(background); NS_RELEASE(background);
NS_RELEASE(below); NS_RELEASE(below);
NS_RELEASE(bgcolor); NS_RELEASE(bgcolor);
@ -388,7 +414,10 @@ void nsHTMLAtoms::ReleaseAtoms()
NS_RELEASE(br); NS_RELEASE(br);
NS_RELEASE(cellpadding); NS_RELEASE(cellpadding);
NS_RELEASE(cellspacing); NS_RELEASE(cellspacing);
NS_RELEASE(ch);
NS_RELEASE(charset);
NS_RELEASE(checked); NS_RELEASE(checked);
NS_RELEASE(choff);
NS_RELEASE(cite); NS_RELEASE(cite);
NS_RELEASE(kClass); NS_RELEASE(kClass);
NS_RELEASE(classid); NS_RELEASE(classid);
@ -404,6 +433,7 @@ void nsHTMLAtoms::ReleaseAtoms()
NS_RELEASE(content); NS_RELEASE(content);
NS_RELEASE(coords); NS_RELEASE(coords);
NS_RELEASE(defaultchecked); NS_RELEASE(defaultchecked);
NS_RELEASE(defaultselected);
NS_RELEASE(defaultvalue); NS_RELEASE(defaultvalue);
NS_RELEASE(defer); NS_RELEASE(defer);
NS_RELEASE(dir); NS_RELEASE(dir);
@ -425,6 +455,7 @@ void nsHTMLAtoms::ReleaseAtoms()
NS_RELEASE(h4); NS_RELEASE(h4);
NS_RELEASE(h5); NS_RELEASE(h5);
NS_RELEASE(h6); NS_RELEASE(h6);
NS_RELEASE(headers);
NS_RELEASE(height); NS_RELEASE(height);
NS_RELEASE(hidden); NS_RELEASE(hidden);
NS_RELEASE(hover); NS_RELEASE(hover);
@ -433,7 +464,10 @@ void nsHTMLAtoms::ReleaseAtoms()
NS_RELEASE(hspace); NS_RELEASE(hspace);
NS_RELEASE(httpEquiv); NS_RELEASE(httpEquiv);
NS_RELEASE(id); NS_RELEASE(id);
NS_RELEASE(iframe);
NS_RELEASE(img);
NS_RELEASE(ismap); NS_RELEASE(ismap);
NS_RELEASE(label);
NS_RELEASE(lang); NS_RELEASE(lang);
NS_RELEASE(li); NS_RELEASE(li);
NS_RELEASE(link); NS_RELEASE(link);
@ -488,6 +522,8 @@ void nsHTMLAtoms::ReleaseAtoms()
NS_RELEASE(rootContentPseudo); NS_RELEASE(rootContentPseudo);
NS_RELEASE(rows); NS_RELEASE(rows);
NS_RELEASE(rowspan); NS_RELEASE(rowspan);
NS_RELEASE(rules);
NS_RELEASE(scope);
NS_RELEASE(scrolling); NS_RELEASE(scrolling);
NS_RELEASE(selected); NS_RELEASE(selected);
NS_RELEASE(shape); NS_RELEASE(shape);
@ -513,6 +549,7 @@ void nsHTMLAtoms::ReleaseAtoms()
NS_RELEASE(value); NS_RELEASE(value);
NS_RELEASE(valuetype); NS_RELEASE(valuetype);
NS_RELEASE(variable); NS_RELEASE(variable);
NS_RELEASE(version);
NS_RELEASE(visibility); NS_RELEASE(visibility);
NS_RELEASE(visited); NS_RELEASE(visited);
NS_RELEASE(vlink); NS_RELEASE(vlink);

Просмотреть файл

@ -41,6 +41,7 @@ public:
// Alphabetical list of html attribute atoms // Alphabetical list of html attribute atoms
static nsIAtom* a; static nsIAtom* a;
static nsIAtom* abbr;
static nsIAtom* above; static nsIAtom* above;
static nsIAtom* accept; static nsIAtom* accept;
static nsIAtom* acceptcharset; static nsIAtom* acceptcharset;
@ -52,6 +53,7 @@ public:
static nsIAtom* alt; static nsIAtom* alt;
static nsIAtom* applet; static nsIAtom* applet;
static nsIAtom* archive; static nsIAtom* archive;
static nsIAtom* axis;
static nsIAtom* background; static nsIAtom* background;
static nsIAtom* below; static nsIAtom* below;
@ -64,8 +66,10 @@ public:
static nsIAtom* cellpadding; static nsIAtom* cellpadding;
static nsIAtom* cellspacing; static nsIAtom* cellspacing;
static nsIAtom* ch;
static nsIAtom* charset; static nsIAtom* charset;
static nsIAtom* checked; static nsIAtom* checked;
static nsIAtom* choff;
static nsIAtom* cite; static nsIAtom* cite;
static nsIAtom* kClass; static nsIAtom* kClass;
static nsIAtom* classid; static nsIAtom* classid;
@ -85,6 +89,7 @@ public:
static nsIAtom* datetime; static nsIAtom* datetime;
static nsIAtom* defer; static nsIAtom* defer;
static nsIAtom* defaultchecked; static nsIAtom* defaultchecked;
static nsIAtom* defaultselected;
static nsIAtom* defaultvalue; static nsIAtom* defaultvalue;
static nsIAtom* dir; static nsIAtom* dir;
static nsIAtom* disabled; static nsIAtom* disabled;
@ -111,6 +116,7 @@ public:
static nsIAtom* h4; static nsIAtom* h4;
static nsIAtom* h5; static nsIAtom* h5;
static nsIAtom* h6; static nsIAtom* h6;
static nsIAtom* headers;
static nsIAtom* height; static nsIAtom* height;
static nsIAtom* hidden; static nsIAtom* hidden;
static nsIAtom* hover; static nsIAtom* hover;
@ -123,8 +129,10 @@ public:
static nsIAtom* id; static nsIAtom* id;
static nsIAtom* iframe; static nsIAtom* iframe;
static nsIAtom* img; static nsIAtom* img;
static nsIAtom* index;
static nsIAtom* ismap; static nsIAtom* ismap;
static nsIAtom* label;
static nsIAtom* lang; static nsIAtom* lang;
static nsIAtom* li; static nsIAtom* li;
static nsIAtom* link; static nsIAtom* link;
@ -186,7 +194,9 @@ public:
static nsIAtom* rootContentPseudo; static nsIAtom* rootContentPseudo;
static nsIAtom* rows; static nsIAtom* rows;
static nsIAtom* rowspan; static nsIAtom* rowspan;
static nsIAtom* rules;
static nsIAtom* scope;
static nsIAtom* scrolling; static nsIAtom* scrolling;
static nsIAtom* selected; static nsIAtom* selected;
static nsIAtom* shape; static nsIAtom* shape;
@ -217,6 +227,7 @@ public:
static nsIAtom* value; static nsIAtom* value;
static nsIAtom* valuetype; static nsIAtom* valuetype;
static nsIAtom* variable; static nsIAtom* variable;
static nsIAtom* version;
static nsIAtom* visibility; static nsIAtom* visibility;
static nsIAtom* visited; static nsIAtom* visited;
static nsIAtom* vlink; static nsIAtom* vlink;

Просмотреть файл

@ -41,6 +41,7 @@ public:
// Alphabetical list of html attribute atoms // Alphabetical list of html attribute atoms
static nsIAtom* a; static nsIAtom* a;
static nsIAtom* abbr;
static nsIAtom* above; static nsIAtom* above;
static nsIAtom* accept; static nsIAtom* accept;
static nsIAtom* acceptcharset; static nsIAtom* acceptcharset;
@ -52,6 +53,7 @@ public:
static nsIAtom* alt; static nsIAtom* alt;
static nsIAtom* applet; static nsIAtom* applet;
static nsIAtom* archive; static nsIAtom* archive;
static nsIAtom* axis;
static nsIAtom* background; static nsIAtom* background;
static nsIAtom* below; static nsIAtom* below;
@ -64,8 +66,10 @@ public:
static nsIAtom* cellpadding; static nsIAtom* cellpadding;
static nsIAtom* cellspacing; static nsIAtom* cellspacing;
static nsIAtom* ch;
static nsIAtom* charset; static nsIAtom* charset;
static nsIAtom* checked; static nsIAtom* checked;
static nsIAtom* choff;
static nsIAtom* cite; static nsIAtom* cite;
static nsIAtom* kClass; static nsIAtom* kClass;
static nsIAtom* classid; static nsIAtom* classid;
@ -85,6 +89,7 @@ public:
static nsIAtom* datetime; static nsIAtom* datetime;
static nsIAtom* defer; static nsIAtom* defer;
static nsIAtom* defaultchecked; static nsIAtom* defaultchecked;
static nsIAtom* defaultselected;
static nsIAtom* defaultvalue; static nsIAtom* defaultvalue;
static nsIAtom* dir; static nsIAtom* dir;
static nsIAtom* disabled; static nsIAtom* disabled;
@ -111,6 +116,7 @@ public:
static nsIAtom* h4; static nsIAtom* h4;
static nsIAtom* h5; static nsIAtom* h5;
static nsIAtom* h6; static nsIAtom* h6;
static nsIAtom* headers;
static nsIAtom* height; static nsIAtom* height;
static nsIAtom* hidden; static nsIAtom* hidden;
static nsIAtom* hover; static nsIAtom* hover;
@ -123,8 +129,10 @@ public:
static nsIAtom* id; static nsIAtom* id;
static nsIAtom* iframe; static nsIAtom* iframe;
static nsIAtom* img; static nsIAtom* img;
static nsIAtom* index;
static nsIAtom* ismap; static nsIAtom* ismap;
static nsIAtom* label;
static nsIAtom* lang; static nsIAtom* lang;
static nsIAtom* li; static nsIAtom* li;
static nsIAtom* link; static nsIAtom* link;
@ -186,7 +194,9 @@ public:
static nsIAtom* rootContentPseudo; static nsIAtom* rootContentPseudo;
static nsIAtom* rows; static nsIAtom* rows;
static nsIAtom* rowspan; static nsIAtom* rowspan;
static nsIAtom* rules;
static nsIAtom* scope;
static nsIAtom* scrolling; static nsIAtom* scrolling;
static nsIAtom* selected; static nsIAtom* selected;
static nsIAtom* shape; static nsIAtom* shape;
@ -217,6 +227,7 @@ public:
static nsIAtom* value; static nsIAtom* value;
static nsIAtom* valuetype; static nsIAtom* valuetype;
static nsIAtom* variable; static nsIAtom* variable;
static nsIAtom* version;
static nsIAtom* visibility; static nsIAtom* visibility;
static nsIAtom* visited; static nsIAtom* visited;
static nsIAtom* vlink; static nsIAtom* vlink;

Просмотреть файл

@ -17,9 +17,12 @@
*/ */
#include "nsHTMLAtoms.h" #include "nsHTMLAtoms.h"
// XXX make this be autogenerated. doh!
nsIAtom* nsHTMLAtoms::_baseHref; nsIAtom* nsHTMLAtoms::_baseHref;
nsIAtom* nsHTMLAtoms::_baseTarget; nsIAtom* nsHTMLAtoms::_baseTarget;
nsIAtom* nsHTMLAtoms::a; nsIAtom* nsHTMLAtoms::a;
nsIAtom* nsHTMLAtoms::abbr;
nsIAtom* nsHTMLAtoms::above; nsIAtom* nsHTMLAtoms::above;
nsIAtom* nsHTMLAtoms::accept; nsIAtom* nsHTMLAtoms::accept;
nsIAtom* nsHTMLAtoms::acceptcharset; nsIAtom* nsHTMLAtoms::acceptcharset;
@ -31,6 +34,7 @@ nsIAtom* nsHTMLAtoms::alink;
nsIAtom* nsHTMLAtoms::alt; nsIAtom* nsHTMLAtoms::alt;
nsIAtom* nsHTMLAtoms::applet; nsIAtom* nsHTMLAtoms::applet;
nsIAtom* nsHTMLAtoms::archive; nsIAtom* nsHTMLAtoms::archive;
nsIAtom* nsHTMLAtoms::axis;
nsIAtom* nsHTMLAtoms::background; nsIAtom* nsHTMLAtoms::background;
nsIAtom* nsHTMLAtoms::below; nsIAtom* nsHTMLAtoms::below;
nsIAtom* nsHTMLAtoms::bgcolor; nsIAtom* nsHTMLAtoms::bgcolor;
@ -41,8 +45,10 @@ nsIAtom* nsHTMLAtoms::bottompadding;
nsIAtom* nsHTMLAtoms::br; nsIAtom* nsHTMLAtoms::br;
nsIAtom* nsHTMLAtoms::cellpadding; nsIAtom* nsHTMLAtoms::cellpadding;
nsIAtom* nsHTMLAtoms::cellspacing; nsIAtom* nsHTMLAtoms::cellspacing;
nsIAtom* nsHTMLAtoms::ch;
nsIAtom* nsHTMLAtoms::charset; nsIAtom* nsHTMLAtoms::charset;
nsIAtom* nsHTMLAtoms::checked; nsIAtom* nsHTMLAtoms::checked;
nsIAtom* nsHTMLAtoms::choff;
nsIAtom* nsHTMLAtoms::cite; nsIAtom* nsHTMLAtoms::cite;
nsIAtom* nsHTMLAtoms::kClass; nsIAtom* nsHTMLAtoms::kClass;
nsIAtom* nsHTMLAtoms::classid; nsIAtom* nsHTMLAtoms::classid;
@ -61,6 +67,7 @@ nsIAtom* nsHTMLAtoms::datetime;
nsIAtom* nsHTMLAtoms::data; nsIAtom* nsHTMLAtoms::data;
nsIAtom* nsHTMLAtoms::defer; nsIAtom* nsHTMLAtoms::defer;
nsIAtom* nsHTMLAtoms::defaultchecked; nsIAtom* nsHTMLAtoms::defaultchecked;
nsIAtom* nsHTMLAtoms::defaultselected;
nsIAtom* nsHTMLAtoms::defaultvalue; nsIAtom* nsHTMLAtoms::defaultvalue;
nsIAtom* nsHTMLAtoms::dir; nsIAtom* nsHTMLAtoms::dir;
nsIAtom* nsHTMLAtoms::disabled; nsIAtom* nsHTMLAtoms::disabled;
@ -83,6 +90,7 @@ nsIAtom* nsHTMLAtoms::h3;
nsIAtom* nsHTMLAtoms::h4; nsIAtom* nsHTMLAtoms::h4;
nsIAtom* nsHTMLAtoms::h5; nsIAtom* nsHTMLAtoms::h5;
nsIAtom* nsHTMLAtoms::h6; nsIAtom* nsHTMLAtoms::h6;
nsIAtom* nsHTMLAtoms::headers;
nsIAtom* nsHTMLAtoms::height; nsIAtom* nsHTMLAtoms::height;
nsIAtom* nsHTMLAtoms::hidden; nsIAtom* nsHTMLAtoms::hidden;
nsIAtom* nsHTMLAtoms::hover; nsIAtom* nsHTMLAtoms::hover;
@ -94,7 +102,9 @@ nsIAtom* nsHTMLAtoms::httpEquiv;
nsIAtom* nsHTMLAtoms::id; nsIAtom* nsHTMLAtoms::id;
nsIAtom* nsHTMLAtoms::iframe; nsIAtom* nsHTMLAtoms::iframe;
nsIAtom* nsHTMLAtoms::img; nsIAtom* nsHTMLAtoms::img;
nsIAtom* nsHTMLAtoms::index;
nsIAtom* nsHTMLAtoms::ismap; nsIAtom* nsHTMLAtoms::ismap;
nsIAtom* nsHTMLAtoms::label;
nsIAtom* nsHTMLAtoms::lang; nsIAtom* nsHTMLAtoms::lang;
nsIAtom* nsHTMLAtoms::li; nsIAtom* nsHTMLAtoms::li;
nsIAtom* nsHTMLAtoms::link; nsIAtom* nsHTMLAtoms::link;
@ -151,6 +161,8 @@ nsIAtom* nsHTMLAtoms::rightpadding;
nsIAtom* nsHTMLAtoms::rootContentPseudo; nsIAtom* nsHTMLAtoms::rootContentPseudo;
nsIAtom* nsHTMLAtoms::rows; nsIAtom* nsHTMLAtoms::rows;
nsIAtom* nsHTMLAtoms::rowspan; nsIAtom* nsHTMLAtoms::rowspan;
nsIAtom* nsHTMLAtoms::rules;
nsIAtom* nsHTMLAtoms::scope;
nsIAtom* nsHTMLAtoms::scrolling; nsIAtom* nsHTMLAtoms::scrolling;
nsIAtom* nsHTMLAtoms::selected; nsIAtom* nsHTMLAtoms::selected;
nsIAtom* nsHTMLAtoms::shape; nsIAtom* nsHTMLAtoms::shape;
@ -178,6 +190,7 @@ nsIAtom* nsHTMLAtoms::valign;
nsIAtom* nsHTMLAtoms::value; nsIAtom* nsHTMLAtoms::value;
nsIAtom* nsHTMLAtoms::valuetype; nsIAtom* nsHTMLAtoms::valuetype;
nsIAtom* nsHTMLAtoms::variable; nsIAtom* nsHTMLAtoms::variable;
nsIAtom* nsHTMLAtoms::version;
nsIAtom* nsHTMLAtoms::visibility; nsIAtom* nsHTMLAtoms::visibility;
nsIAtom* nsHTMLAtoms::visited; nsIAtom* nsHTMLAtoms::visited;
nsIAtom* nsHTMLAtoms::vlink; nsIAtom* nsHTMLAtoms::vlink;
@ -195,6 +208,7 @@ void nsHTMLAtoms::AddrefAtoms()
_baseHref = NS_NewAtom(NS_HTML_BASE_HREF); _baseHref = NS_NewAtom(NS_HTML_BASE_HREF);
_baseTarget = NS_NewAtom(NS_HTML_BASE_TARGET); _baseTarget = NS_NewAtom(NS_HTML_BASE_TARGET);
a = NS_NewAtom("A"); a = NS_NewAtom("A");
abbr = NS_NewAtom("ABBR");
above = NS_NewAtom("ABOVE"); above = NS_NewAtom("ABOVE");
accept = NS_NewAtom("ACCEPT"); accept = NS_NewAtom("ACCEPT");
acceptcharset = NS_NewAtom("ACCEPTCHARSET"); acceptcharset = NS_NewAtom("ACCEPTCHARSET");
@ -206,6 +220,7 @@ void nsHTMLAtoms::AddrefAtoms()
alt = NS_NewAtom("ALT"); alt = NS_NewAtom("ALT");
applet = NS_NewAtom("APPLET"); applet = NS_NewAtom("APPLET");
archive = NS_NewAtom("ARCHIVE"); archive = NS_NewAtom("ARCHIVE");
axis = NS_NewAtom("AXIS");
background = NS_NewAtom("BACKGROUND"); background = NS_NewAtom("BACKGROUND");
below = NS_NewAtom("BELOW"); below = NS_NewAtom("BELOW");
bgcolor = NS_NewAtom("BGCOLOR"); bgcolor = NS_NewAtom("BGCOLOR");
@ -216,8 +231,10 @@ void nsHTMLAtoms::AddrefAtoms()
br = NS_NewAtom("BR"); br = NS_NewAtom("BR");
cellpadding = NS_NewAtom("CELLPADDING"); cellpadding = NS_NewAtom("CELLPADDING");
cellspacing = NS_NewAtom("CELLSPACING"); cellspacing = NS_NewAtom("CELLSPACING");
ch = NS_NewAtom("CH");
charset = NS_NewAtom("CHARSET"); charset = NS_NewAtom("CHARSET");
checked = NS_NewAtom("CHECKED"); checked = NS_NewAtom("CHECKED");
choff = NS_NewAtom("CHOFF");
cite = NS_NewAtom("CITE"); cite = NS_NewAtom("CITE");
kClass = NS_NewAtom("CLASS"); kClass = NS_NewAtom("CLASS");
classid = NS_NewAtom("CLASSID"); classid = NS_NewAtom("CLASSID");
@ -233,6 +250,7 @@ void nsHTMLAtoms::AddrefAtoms()
content = NS_NewAtom("CONTENT"); content = NS_NewAtom("CONTENT");
coords = NS_NewAtom("COORDS"); coords = NS_NewAtom("COORDS");
defaultchecked = NS_NewAtom("DEFAULTCHECKED"); defaultchecked = NS_NewAtom("DEFAULTCHECKED");
defaultselected = NS_NewAtom("DEFAULTSELECTED");
defaultvalue = NS_NewAtom("DEFAULTVALUE"); defaultvalue = NS_NewAtom("DEFAULTVALUE");
defer = NS_NewAtom("DEFER"); defer = NS_NewAtom("DEFER");
dir = NS_NewAtom("DIR"); dir = NS_NewAtom("DIR");
@ -258,6 +276,7 @@ void nsHTMLAtoms::AddrefAtoms()
h4 = NS_NewAtom("H4"); h4 = NS_NewAtom("H4");
h5 = NS_NewAtom("H5"); h5 = NS_NewAtom("H5");
h6 = NS_NewAtom("H6"); h6 = NS_NewAtom("H6");
headers = NS_NewAtom("HEADERS");
height = NS_NewAtom("HEIGHT"); height = NS_NewAtom("HEIGHT");
hidden = NS_NewAtom("HIDDEN"); hidden = NS_NewAtom("HIDDEN");
hover = NS_NewAtom("HOVER"); hover = NS_NewAtom("HOVER");
@ -269,7 +288,9 @@ void nsHTMLAtoms::AddrefAtoms()
id = NS_NewAtom("ID"); id = NS_NewAtom("ID");
iframe = NS_NewAtom("IFRAME"); iframe = NS_NewAtom("IFRAME");
img = NS_NewAtom("IMG"); img = NS_NewAtom("IMG");
index = NS_NewAtom("INDEX");
ismap = NS_NewAtom("ISMAP"); ismap = NS_NewAtom("ISMAP");
label = NS_NewAtom("LABEL");
lang = NS_NewAtom("LANG"); lang = NS_NewAtom("LANG");
li = NS_NewAtom("LI"); li = NS_NewAtom("LI");
link = NS_NewAtom("LINK"); link = NS_NewAtom("LINK");
@ -325,6 +346,8 @@ void nsHTMLAtoms::AddrefAtoms()
rootContentPseudo = NS_NewAtom(":ROOT-CONTENT"); rootContentPseudo = NS_NewAtom(":ROOT-CONTENT");
rows = NS_NewAtom("ROWS"); rows = NS_NewAtom("ROWS");
rowspan = NS_NewAtom("ROWSPAN"); rowspan = NS_NewAtom("ROWSPAN");
rules = NS_NewAtom("RULES");
scope = NS_NewAtom("SCOPE");
scrolling = NS_NewAtom("SCROLLING"); scrolling = NS_NewAtom("SCROLLING");
selected = NS_NewAtom("SELECTED"); selected = NS_NewAtom("SELECTED");
shape = NS_NewAtom("SHAPE"); shape = NS_NewAtom("SHAPE");
@ -352,6 +375,7 @@ void nsHTMLAtoms::AddrefAtoms()
value = NS_NewAtom("VALUE"); value = NS_NewAtom("VALUE");
valuetype = NS_NewAtom("VALUETYPE"); valuetype = NS_NewAtom("VALUETYPE");
variable = NS_NewAtom("VARIABLE"); variable = NS_NewAtom("VARIABLE");
version = NS_NewAtom("VERSION");
visibility = NS_NewAtom("VISIBILITY"); visibility = NS_NewAtom("VISIBILITY");
visited = NS_NewAtom("VISITED"); visited = NS_NewAtom("VISITED");
vlink = NS_NewAtom("VLINK"); vlink = NS_NewAtom("VLINK");
@ -370,6 +394,7 @@ void nsHTMLAtoms::ReleaseAtoms()
NS_RELEASE(_baseHref); NS_RELEASE(_baseHref);
NS_RELEASE(_baseTarget); NS_RELEASE(_baseTarget);
NS_RELEASE(a); NS_RELEASE(a);
NS_RELEASE(abbr);
NS_RELEASE(above); NS_RELEASE(above);
NS_RELEASE(action); NS_RELEASE(action);
NS_RELEASE(active); NS_RELEASE(active);
@ -378,6 +403,7 @@ void nsHTMLAtoms::ReleaseAtoms()
NS_RELEASE(alt); NS_RELEASE(alt);
NS_RELEASE(applet); NS_RELEASE(applet);
NS_RELEASE(archive); NS_RELEASE(archive);
NS_RELEASE(axis);
NS_RELEASE(background); NS_RELEASE(background);
NS_RELEASE(below); NS_RELEASE(below);
NS_RELEASE(bgcolor); NS_RELEASE(bgcolor);
@ -388,7 +414,10 @@ void nsHTMLAtoms::ReleaseAtoms()
NS_RELEASE(br); NS_RELEASE(br);
NS_RELEASE(cellpadding); NS_RELEASE(cellpadding);
NS_RELEASE(cellspacing); NS_RELEASE(cellspacing);
NS_RELEASE(ch);
NS_RELEASE(charset);
NS_RELEASE(checked); NS_RELEASE(checked);
NS_RELEASE(choff);
NS_RELEASE(cite); NS_RELEASE(cite);
NS_RELEASE(kClass); NS_RELEASE(kClass);
NS_RELEASE(classid); NS_RELEASE(classid);
@ -404,6 +433,7 @@ void nsHTMLAtoms::ReleaseAtoms()
NS_RELEASE(content); NS_RELEASE(content);
NS_RELEASE(coords); NS_RELEASE(coords);
NS_RELEASE(defaultchecked); NS_RELEASE(defaultchecked);
NS_RELEASE(defaultselected);
NS_RELEASE(defaultvalue); NS_RELEASE(defaultvalue);
NS_RELEASE(defer); NS_RELEASE(defer);
NS_RELEASE(dir); NS_RELEASE(dir);
@ -425,6 +455,7 @@ void nsHTMLAtoms::ReleaseAtoms()
NS_RELEASE(h4); NS_RELEASE(h4);
NS_RELEASE(h5); NS_RELEASE(h5);
NS_RELEASE(h6); NS_RELEASE(h6);
NS_RELEASE(headers);
NS_RELEASE(height); NS_RELEASE(height);
NS_RELEASE(hidden); NS_RELEASE(hidden);
NS_RELEASE(hover); NS_RELEASE(hover);
@ -433,7 +464,10 @@ void nsHTMLAtoms::ReleaseAtoms()
NS_RELEASE(hspace); NS_RELEASE(hspace);
NS_RELEASE(httpEquiv); NS_RELEASE(httpEquiv);
NS_RELEASE(id); NS_RELEASE(id);
NS_RELEASE(iframe);
NS_RELEASE(img);
NS_RELEASE(ismap); NS_RELEASE(ismap);
NS_RELEASE(label);
NS_RELEASE(lang); NS_RELEASE(lang);
NS_RELEASE(li); NS_RELEASE(li);
NS_RELEASE(link); NS_RELEASE(link);
@ -488,6 +522,8 @@ void nsHTMLAtoms::ReleaseAtoms()
NS_RELEASE(rootContentPseudo); NS_RELEASE(rootContentPseudo);
NS_RELEASE(rows); NS_RELEASE(rows);
NS_RELEASE(rowspan); NS_RELEASE(rowspan);
NS_RELEASE(rules);
NS_RELEASE(scope);
NS_RELEASE(scrolling); NS_RELEASE(scrolling);
NS_RELEASE(selected); NS_RELEASE(selected);
NS_RELEASE(shape); NS_RELEASE(shape);
@ -513,6 +549,7 @@ void nsHTMLAtoms::ReleaseAtoms()
NS_RELEASE(value); NS_RELEASE(value);
NS_RELEASE(valuetype); NS_RELEASE(valuetype);
NS_RELEASE(variable); NS_RELEASE(variable);
NS_RELEASE(version);
NS_RELEASE(visibility); NS_RELEASE(visibility);
NS_RELEASE(visited); NS_RELEASE(visited);
NS_RELEASE(vlink); NS_RELEASE(vlink);

Просмотреть файл

@ -17,9 +17,12 @@
*/ */
#include "nsHTMLAtoms.h" #include "nsHTMLAtoms.h"
// XXX make this be autogenerated. doh!
nsIAtom* nsHTMLAtoms::_baseHref; nsIAtom* nsHTMLAtoms::_baseHref;
nsIAtom* nsHTMLAtoms::_baseTarget; nsIAtom* nsHTMLAtoms::_baseTarget;
nsIAtom* nsHTMLAtoms::a; nsIAtom* nsHTMLAtoms::a;
nsIAtom* nsHTMLAtoms::abbr;
nsIAtom* nsHTMLAtoms::above; nsIAtom* nsHTMLAtoms::above;
nsIAtom* nsHTMLAtoms::accept; nsIAtom* nsHTMLAtoms::accept;
nsIAtom* nsHTMLAtoms::acceptcharset; nsIAtom* nsHTMLAtoms::acceptcharset;
@ -31,6 +34,7 @@ nsIAtom* nsHTMLAtoms::alink;
nsIAtom* nsHTMLAtoms::alt; nsIAtom* nsHTMLAtoms::alt;
nsIAtom* nsHTMLAtoms::applet; nsIAtom* nsHTMLAtoms::applet;
nsIAtom* nsHTMLAtoms::archive; nsIAtom* nsHTMLAtoms::archive;
nsIAtom* nsHTMLAtoms::axis;
nsIAtom* nsHTMLAtoms::background; nsIAtom* nsHTMLAtoms::background;
nsIAtom* nsHTMLAtoms::below; nsIAtom* nsHTMLAtoms::below;
nsIAtom* nsHTMLAtoms::bgcolor; nsIAtom* nsHTMLAtoms::bgcolor;
@ -41,8 +45,10 @@ nsIAtom* nsHTMLAtoms::bottompadding;
nsIAtom* nsHTMLAtoms::br; nsIAtom* nsHTMLAtoms::br;
nsIAtom* nsHTMLAtoms::cellpadding; nsIAtom* nsHTMLAtoms::cellpadding;
nsIAtom* nsHTMLAtoms::cellspacing; nsIAtom* nsHTMLAtoms::cellspacing;
nsIAtom* nsHTMLAtoms::ch;
nsIAtom* nsHTMLAtoms::charset; nsIAtom* nsHTMLAtoms::charset;
nsIAtom* nsHTMLAtoms::checked; nsIAtom* nsHTMLAtoms::checked;
nsIAtom* nsHTMLAtoms::choff;
nsIAtom* nsHTMLAtoms::cite; nsIAtom* nsHTMLAtoms::cite;
nsIAtom* nsHTMLAtoms::kClass; nsIAtom* nsHTMLAtoms::kClass;
nsIAtom* nsHTMLAtoms::classid; nsIAtom* nsHTMLAtoms::classid;
@ -61,6 +67,7 @@ nsIAtom* nsHTMLAtoms::datetime;
nsIAtom* nsHTMLAtoms::data; nsIAtom* nsHTMLAtoms::data;
nsIAtom* nsHTMLAtoms::defer; nsIAtom* nsHTMLAtoms::defer;
nsIAtom* nsHTMLAtoms::defaultchecked; nsIAtom* nsHTMLAtoms::defaultchecked;
nsIAtom* nsHTMLAtoms::defaultselected;
nsIAtom* nsHTMLAtoms::defaultvalue; nsIAtom* nsHTMLAtoms::defaultvalue;
nsIAtom* nsHTMLAtoms::dir; nsIAtom* nsHTMLAtoms::dir;
nsIAtom* nsHTMLAtoms::disabled; nsIAtom* nsHTMLAtoms::disabled;
@ -83,6 +90,7 @@ nsIAtom* nsHTMLAtoms::h3;
nsIAtom* nsHTMLAtoms::h4; nsIAtom* nsHTMLAtoms::h4;
nsIAtom* nsHTMLAtoms::h5; nsIAtom* nsHTMLAtoms::h5;
nsIAtom* nsHTMLAtoms::h6; nsIAtom* nsHTMLAtoms::h6;
nsIAtom* nsHTMLAtoms::headers;
nsIAtom* nsHTMLAtoms::height; nsIAtom* nsHTMLAtoms::height;
nsIAtom* nsHTMLAtoms::hidden; nsIAtom* nsHTMLAtoms::hidden;
nsIAtom* nsHTMLAtoms::hover; nsIAtom* nsHTMLAtoms::hover;
@ -94,7 +102,9 @@ nsIAtom* nsHTMLAtoms::httpEquiv;
nsIAtom* nsHTMLAtoms::id; nsIAtom* nsHTMLAtoms::id;
nsIAtom* nsHTMLAtoms::iframe; nsIAtom* nsHTMLAtoms::iframe;
nsIAtom* nsHTMLAtoms::img; nsIAtom* nsHTMLAtoms::img;
nsIAtom* nsHTMLAtoms::index;
nsIAtom* nsHTMLAtoms::ismap; nsIAtom* nsHTMLAtoms::ismap;
nsIAtom* nsHTMLAtoms::label;
nsIAtom* nsHTMLAtoms::lang; nsIAtom* nsHTMLAtoms::lang;
nsIAtom* nsHTMLAtoms::li; nsIAtom* nsHTMLAtoms::li;
nsIAtom* nsHTMLAtoms::link; nsIAtom* nsHTMLAtoms::link;
@ -151,6 +161,8 @@ nsIAtom* nsHTMLAtoms::rightpadding;
nsIAtom* nsHTMLAtoms::rootContentPseudo; nsIAtom* nsHTMLAtoms::rootContentPseudo;
nsIAtom* nsHTMLAtoms::rows; nsIAtom* nsHTMLAtoms::rows;
nsIAtom* nsHTMLAtoms::rowspan; nsIAtom* nsHTMLAtoms::rowspan;
nsIAtom* nsHTMLAtoms::rules;
nsIAtom* nsHTMLAtoms::scope;
nsIAtom* nsHTMLAtoms::scrolling; nsIAtom* nsHTMLAtoms::scrolling;
nsIAtom* nsHTMLAtoms::selected; nsIAtom* nsHTMLAtoms::selected;
nsIAtom* nsHTMLAtoms::shape; nsIAtom* nsHTMLAtoms::shape;
@ -178,6 +190,7 @@ nsIAtom* nsHTMLAtoms::valign;
nsIAtom* nsHTMLAtoms::value; nsIAtom* nsHTMLAtoms::value;
nsIAtom* nsHTMLAtoms::valuetype; nsIAtom* nsHTMLAtoms::valuetype;
nsIAtom* nsHTMLAtoms::variable; nsIAtom* nsHTMLAtoms::variable;
nsIAtom* nsHTMLAtoms::version;
nsIAtom* nsHTMLAtoms::visibility; nsIAtom* nsHTMLAtoms::visibility;
nsIAtom* nsHTMLAtoms::visited; nsIAtom* nsHTMLAtoms::visited;
nsIAtom* nsHTMLAtoms::vlink; nsIAtom* nsHTMLAtoms::vlink;
@ -195,6 +208,7 @@ void nsHTMLAtoms::AddrefAtoms()
_baseHref = NS_NewAtom(NS_HTML_BASE_HREF); _baseHref = NS_NewAtom(NS_HTML_BASE_HREF);
_baseTarget = NS_NewAtom(NS_HTML_BASE_TARGET); _baseTarget = NS_NewAtom(NS_HTML_BASE_TARGET);
a = NS_NewAtom("A"); a = NS_NewAtom("A");
abbr = NS_NewAtom("ABBR");
above = NS_NewAtom("ABOVE"); above = NS_NewAtom("ABOVE");
accept = NS_NewAtom("ACCEPT"); accept = NS_NewAtom("ACCEPT");
acceptcharset = NS_NewAtom("ACCEPTCHARSET"); acceptcharset = NS_NewAtom("ACCEPTCHARSET");
@ -206,6 +220,7 @@ void nsHTMLAtoms::AddrefAtoms()
alt = NS_NewAtom("ALT"); alt = NS_NewAtom("ALT");
applet = NS_NewAtom("APPLET"); applet = NS_NewAtom("APPLET");
archive = NS_NewAtom("ARCHIVE"); archive = NS_NewAtom("ARCHIVE");
axis = NS_NewAtom("AXIS");
background = NS_NewAtom("BACKGROUND"); background = NS_NewAtom("BACKGROUND");
below = NS_NewAtom("BELOW"); below = NS_NewAtom("BELOW");
bgcolor = NS_NewAtom("BGCOLOR"); bgcolor = NS_NewAtom("BGCOLOR");
@ -216,8 +231,10 @@ void nsHTMLAtoms::AddrefAtoms()
br = NS_NewAtom("BR"); br = NS_NewAtom("BR");
cellpadding = NS_NewAtom("CELLPADDING"); cellpadding = NS_NewAtom("CELLPADDING");
cellspacing = NS_NewAtom("CELLSPACING"); cellspacing = NS_NewAtom("CELLSPACING");
ch = NS_NewAtom("CH");
charset = NS_NewAtom("CHARSET"); charset = NS_NewAtom("CHARSET");
checked = NS_NewAtom("CHECKED"); checked = NS_NewAtom("CHECKED");
choff = NS_NewAtom("CHOFF");
cite = NS_NewAtom("CITE"); cite = NS_NewAtom("CITE");
kClass = NS_NewAtom("CLASS"); kClass = NS_NewAtom("CLASS");
classid = NS_NewAtom("CLASSID"); classid = NS_NewAtom("CLASSID");
@ -233,6 +250,7 @@ void nsHTMLAtoms::AddrefAtoms()
content = NS_NewAtom("CONTENT"); content = NS_NewAtom("CONTENT");
coords = NS_NewAtom("COORDS"); coords = NS_NewAtom("COORDS");
defaultchecked = NS_NewAtom("DEFAULTCHECKED"); defaultchecked = NS_NewAtom("DEFAULTCHECKED");
defaultselected = NS_NewAtom("DEFAULTSELECTED");
defaultvalue = NS_NewAtom("DEFAULTVALUE"); defaultvalue = NS_NewAtom("DEFAULTVALUE");
defer = NS_NewAtom("DEFER"); defer = NS_NewAtom("DEFER");
dir = NS_NewAtom("DIR"); dir = NS_NewAtom("DIR");
@ -258,6 +276,7 @@ void nsHTMLAtoms::AddrefAtoms()
h4 = NS_NewAtom("H4"); h4 = NS_NewAtom("H4");
h5 = NS_NewAtom("H5"); h5 = NS_NewAtom("H5");
h6 = NS_NewAtom("H6"); h6 = NS_NewAtom("H6");
headers = NS_NewAtom("HEADERS");
height = NS_NewAtom("HEIGHT"); height = NS_NewAtom("HEIGHT");
hidden = NS_NewAtom("HIDDEN"); hidden = NS_NewAtom("HIDDEN");
hover = NS_NewAtom("HOVER"); hover = NS_NewAtom("HOVER");
@ -269,7 +288,9 @@ void nsHTMLAtoms::AddrefAtoms()
id = NS_NewAtom("ID"); id = NS_NewAtom("ID");
iframe = NS_NewAtom("IFRAME"); iframe = NS_NewAtom("IFRAME");
img = NS_NewAtom("IMG"); img = NS_NewAtom("IMG");
index = NS_NewAtom("INDEX");
ismap = NS_NewAtom("ISMAP"); ismap = NS_NewAtom("ISMAP");
label = NS_NewAtom("LABEL");
lang = NS_NewAtom("LANG"); lang = NS_NewAtom("LANG");
li = NS_NewAtom("LI"); li = NS_NewAtom("LI");
link = NS_NewAtom("LINK"); link = NS_NewAtom("LINK");
@ -325,6 +346,8 @@ void nsHTMLAtoms::AddrefAtoms()
rootContentPseudo = NS_NewAtom(":ROOT-CONTENT"); rootContentPseudo = NS_NewAtom(":ROOT-CONTENT");
rows = NS_NewAtom("ROWS"); rows = NS_NewAtom("ROWS");
rowspan = NS_NewAtom("ROWSPAN"); rowspan = NS_NewAtom("ROWSPAN");
rules = NS_NewAtom("RULES");
scope = NS_NewAtom("SCOPE");
scrolling = NS_NewAtom("SCROLLING"); scrolling = NS_NewAtom("SCROLLING");
selected = NS_NewAtom("SELECTED"); selected = NS_NewAtom("SELECTED");
shape = NS_NewAtom("SHAPE"); shape = NS_NewAtom("SHAPE");
@ -352,6 +375,7 @@ void nsHTMLAtoms::AddrefAtoms()
value = NS_NewAtom("VALUE"); value = NS_NewAtom("VALUE");
valuetype = NS_NewAtom("VALUETYPE"); valuetype = NS_NewAtom("VALUETYPE");
variable = NS_NewAtom("VARIABLE"); variable = NS_NewAtom("VARIABLE");
version = NS_NewAtom("VERSION");
visibility = NS_NewAtom("VISIBILITY"); visibility = NS_NewAtom("VISIBILITY");
visited = NS_NewAtom("VISITED"); visited = NS_NewAtom("VISITED");
vlink = NS_NewAtom("VLINK"); vlink = NS_NewAtom("VLINK");
@ -370,6 +394,7 @@ void nsHTMLAtoms::ReleaseAtoms()
NS_RELEASE(_baseHref); NS_RELEASE(_baseHref);
NS_RELEASE(_baseTarget); NS_RELEASE(_baseTarget);
NS_RELEASE(a); NS_RELEASE(a);
NS_RELEASE(abbr);
NS_RELEASE(above); NS_RELEASE(above);
NS_RELEASE(action); NS_RELEASE(action);
NS_RELEASE(active); NS_RELEASE(active);
@ -378,6 +403,7 @@ void nsHTMLAtoms::ReleaseAtoms()
NS_RELEASE(alt); NS_RELEASE(alt);
NS_RELEASE(applet); NS_RELEASE(applet);
NS_RELEASE(archive); NS_RELEASE(archive);
NS_RELEASE(axis);
NS_RELEASE(background); NS_RELEASE(background);
NS_RELEASE(below); NS_RELEASE(below);
NS_RELEASE(bgcolor); NS_RELEASE(bgcolor);
@ -388,7 +414,10 @@ void nsHTMLAtoms::ReleaseAtoms()
NS_RELEASE(br); NS_RELEASE(br);
NS_RELEASE(cellpadding); NS_RELEASE(cellpadding);
NS_RELEASE(cellspacing); NS_RELEASE(cellspacing);
NS_RELEASE(ch);
NS_RELEASE(charset);
NS_RELEASE(checked); NS_RELEASE(checked);
NS_RELEASE(choff);
NS_RELEASE(cite); NS_RELEASE(cite);
NS_RELEASE(kClass); NS_RELEASE(kClass);
NS_RELEASE(classid); NS_RELEASE(classid);
@ -404,6 +433,7 @@ void nsHTMLAtoms::ReleaseAtoms()
NS_RELEASE(content); NS_RELEASE(content);
NS_RELEASE(coords); NS_RELEASE(coords);
NS_RELEASE(defaultchecked); NS_RELEASE(defaultchecked);
NS_RELEASE(defaultselected);
NS_RELEASE(defaultvalue); NS_RELEASE(defaultvalue);
NS_RELEASE(defer); NS_RELEASE(defer);
NS_RELEASE(dir); NS_RELEASE(dir);
@ -425,6 +455,7 @@ void nsHTMLAtoms::ReleaseAtoms()
NS_RELEASE(h4); NS_RELEASE(h4);
NS_RELEASE(h5); NS_RELEASE(h5);
NS_RELEASE(h6); NS_RELEASE(h6);
NS_RELEASE(headers);
NS_RELEASE(height); NS_RELEASE(height);
NS_RELEASE(hidden); NS_RELEASE(hidden);
NS_RELEASE(hover); NS_RELEASE(hover);
@ -433,7 +464,10 @@ void nsHTMLAtoms::ReleaseAtoms()
NS_RELEASE(hspace); NS_RELEASE(hspace);
NS_RELEASE(httpEquiv); NS_RELEASE(httpEquiv);
NS_RELEASE(id); NS_RELEASE(id);
NS_RELEASE(iframe);
NS_RELEASE(img);
NS_RELEASE(ismap); NS_RELEASE(ismap);
NS_RELEASE(label);
NS_RELEASE(lang); NS_RELEASE(lang);
NS_RELEASE(li); NS_RELEASE(li);
NS_RELEASE(link); NS_RELEASE(link);
@ -488,6 +522,8 @@ void nsHTMLAtoms::ReleaseAtoms()
NS_RELEASE(rootContentPseudo); NS_RELEASE(rootContentPseudo);
NS_RELEASE(rows); NS_RELEASE(rows);
NS_RELEASE(rowspan); NS_RELEASE(rowspan);
NS_RELEASE(rules);
NS_RELEASE(scope);
NS_RELEASE(scrolling); NS_RELEASE(scrolling);
NS_RELEASE(selected); NS_RELEASE(selected);
NS_RELEASE(shape); NS_RELEASE(shape);
@ -513,6 +549,7 @@ void nsHTMLAtoms::ReleaseAtoms()
NS_RELEASE(value); NS_RELEASE(value);
NS_RELEASE(valuetype); NS_RELEASE(valuetype);
NS_RELEASE(variable); NS_RELEASE(variable);
NS_RELEASE(version);
NS_RELEASE(visibility); NS_RELEASE(visibility);
NS_RELEASE(visited); NS_RELEASE(visited);
NS_RELEASE(vlink); NS_RELEASE(vlink);

Просмотреть файл

@ -41,6 +41,7 @@ public:
// Alphabetical list of html attribute atoms // Alphabetical list of html attribute atoms
static nsIAtom* a; static nsIAtom* a;
static nsIAtom* abbr;
static nsIAtom* above; static nsIAtom* above;
static nsIAtom* accept; static nsIAtom* accept;
static nsIAtom* acceptcharset; static nsIAtom* acceptcharset;
@ -52,6 +53,7 @@ public:
static nsIAtom* alt; static nsIAtom* alt;
static nsIAtom* applet; static nsIAtom* applet;
static nsIAtom* archive; static nsIAtom* archive;
static nsIAtom* axis;
static nsIAtom* background; static nsIAtom* background;
static nsIAtom* below; static nsIAtom* below;
@ -64,8 +66,10 @@ public:
static nsIAtom* cellpadding; static nsIAtom* cellpadding;
static nsIAtom* cellspacing; static nsIAtom* cellspacing;
static nsIAtom* ch;
static nsIAtom* charset; static nsIAtom* charset;
static nsIAtom* checked; static nsIAtom* checked;
static nsIAtom* choff;
static nsIAtom* cite; static nsIAtom* cite;
static nsIAtom* kClass; static nsIAtom* kClass;
static nsIAtom* classid; static nsIAtom* classid;
@ -85,6 +89,7 @@ public:
static nsIAtom* datetime; static nsIAtom* datetime;
static nsIAtom* defer; static nsIAtom* defer;
static nsIAtom* defaultchecked; static nsIAtom* defaultchecked;
static nsIAtom* defaultselected;
static nsIAtom* defaultvalue; static nsIAtom* defaultvalue;
static nsIAtom* dir; static nsIAtom* dir;
static nsIAtom* disabled; static nsIAtom* disabled;
@ -111,6 +116,7 @@ public:
static nsIAtom* h4; static nsIAtom* h4;
static nsIAtom* h5; static nsIAtom* h5;
static nsIAtom* h6; static nsIAtom* h6;
static nsIAtom* headers;
static nsIAtom* height; static nsIAtom* height;
static nsIAtom* hidden; static nsIAtom* hidden;
static nsIAtom* hover; static nsIAtom* hover;
@ -123,8 +129,10 @@ public:
static nsIAtom* id; static nsIAtom* id;
static nsIAtom* iframe; static nsIAtom* iframe;
static nsIAtom* img; static nsIAtom* img;
static nsIAtom* index;
static nsIAtom* ismap; static nsIAtom* ismap;
static nsIAtom* label;
static nsIAtom* lang; static nsIAtom* lang;
static nsIAtom* li; static nsIAtom* li;
static nsIAtom* link; static nsIAtom* link;
@ -186,7 +194,9 @@ public:
static nsIAtom* rootContentPseudo; static nsIAtom* rootContentPseudo;
static nsIAtom* rows; static nsIAtom* rows;
static nsIAtom* rowspan; static nsIAtom* rowspan;
static nsIAtom* rules;
static nsIAtom* scope;
static nsIAtom* scrolling; static nsIAtom* scrolling;
static nsIAtom* selected; static nsIAtom* selected;
static nsIAtom* shape; static nsIAtom* shape;
@ -217,6 +227,7 @@ public:
static nsIAtom* value; static nsIAtom* value;
static nsIAtom* valuetype; static nsIAtom* valuetype;
static nsIAtom* variable; static nsIAtom* variable;
static nsIAtom* version;
static nsIAtom* visibility; static nsIAtom* visibility;
static nsIAtom* visited; static nsIAtom* visited;
static nsIAtom* vlink; static nsIAtom* vlink;