From a0cfb563d368fb9a711279ead0f48bdd436fd351 Mon Sep 17 00:00:00 2001 From: "troy%netscape.com" Date: Mon, 29 Mar 1999 03:30:34 +0000 Subject: [PATCH] Added beforePseudo and afterPseudo atoms --- content/html/content/src/nsHTMLAtoms.cpp | 6 ++++++ content/html/content/src/nsHTMLAtoms.h | 2 ++ content/shared/public/nsHTMLAtoms.h | 2 ++ content/shared/src/nsHTMLAtoms.cpp | 6 ++++++ layout/html/base/src/nsHTMLAtoms.cpp | 6 ++++++ layout/html/base/src/nsHTMLAtoms.h | 2 ++ 6 files changed, 24 insertions(+) diff --git a/content/html/content/src/nsHTMLAtoms.cpp b/content/html/content/src/nsHTMLAtoms.cpp index c3406639db9..25dc157caa9 100644 --- a/content/html/content/src/nsHTMLAtoms.cpp +++ b/content/html/content/src/nsHTMLAtoms.cpp @@ -31,6 +31,7 @@ nsIAtom* nsHTMLAtoms::accept; nsIAtom* nsHTMLAtoms::acceptcharset; nsIAtom* nsHTMLAtoms::accesskey; nsIAtom* nsHTMLAtoms::action; +nsIAtom* nsHTMLAtoms::afterPseudo; nsIAtom* nsHTMLAtoms::align; nsIAtom* nsHTMLAtoms::alink; nsIAtom* nsHTMLAtoms::alt; @@ -39,6 +40,7 @@ nsIAtom* nsHTMLAtoms::archive; nsIAtom* nsHTMLAtoms::area; nsIAtom* nsHTMLAtoms::axis; nsIAtom* nsHTMLAtoms::background; +nsIAtom* nsHTMLAtoms::beforePseudo; nsIAtom* nsHTMLAtoms::below; nsIAtom* nsHTMLAtoms::bgcolor; nsIAtom* nsHTMLAtoms::blockFrame; @@ -288,6 +290,7 @@ void nsHTMLAtoms::AddrefAtoms() acceptcharset = NS_NewAtom("acceptcharset"); accesskey = NS_NewAtom("accesskey"); action = NS_NewAtom("action"); + afterPseudo = NS_NewAtom(":after"); align = NS_NewAtom("align"); alink = NS_NewAtom("alink"); alt = NS_NewAtom("alt"); @@ -296,6 +299,7 @@ void nsHTMLAtoms::AddrefAtoms() area = NS_NewAtom("area"); axis = NS_NewAtom("axis"); background = NS_NewAtom("background"); + beforePseudo = NS_NewAtom(":before"); below = NS_NewAtom("below"); bgcolor = NS_NewAtom("bgcolor"); blockFrame = NS_NewAtom("BlockFrame"); @@ -543,6 +547,7 @@ void nsHTMLAtoms::ReleaseAtoms() NS_RELEASE(abbr); NS_RELEASE(above); NS_RELEASE(action); + NS_RELEASE(afterPseudo); NS_RELEASE(align); NS_RELEASE(alink); NS_RELEASE(alt); @@ -551,6 +556,7 @@ void nsHTMLAtoms::ReleaseAtoms() NS_RELEASE(area); NS_RELEASE(axis); NS_RELEASE(background); + NS_RELEASE(beforePseudo); NS_RELEASE(below); NS_RELEASE(bgcolor); NS_RELEASE(blockFrame); diff --git a/content/html/content/src/nsHTMLAtoms.h b/content/html/content/src/nsHTMLAtoms.h index a414388c166..afd42e516c4 100644 --- a/content/html/content/src/nsHTMLAtoms.h +++ b/content/html/content/src/nsHTMLAtoms.h @@ -50,6 +50,7 @@ public: static nsIAtom* acceptcharset; static nsIAtom* accesskey; static nsIAtom* action; + static nsIAtom* afterPseudo; static nsIAtom* align; static nsIAtom* alink; static nsIAtom* alt; @@ -59,6 +60,7 @@ public: static nsIAtom* axis; static nsIAtom* background; + static nsIAtom* beforePseudo; static nsIAtom* below; static nsIAtom* bgcolor; static nsIAtom* blockFrame; diff --git a/content/shared/public/nsHTMLAtoms.h b/content/shared/public/nsHTMLAtoms.h index a414388c166..afd42e516c4 100644 --- a/content/shared/public/nsHTMLAtoms.h +++ b/content/shared/public/nsHTMLAtoms.h @@ -50,6 +50,7 @@ public: static nsIAtom* acceptcharset; static nsIAtom* accesskey; static nsIAtom* action; + static nsIAtom* afterPseudo; static nsIAtom* align; static nsIAtom* alink; static nsIAtom* alt; @@ -59,6 +60,7 @@ public: static nsIAtom* axis; static nsIAtom* background; + static nsIAtom* beforePseudo; static nsIAtom* below; static nsIAtom* bgcolor; static nsIAtom* blockFrame; diff --git a/content/shared/src/nsHTMLAtoms.cpp b/content/shared/src/nsHTMLAtoms.cpp index c3406639db9..25dc157caa9 100644 --- a/content/shared/src/nsHTMLAtoms.cpp +++ b/content/shared/src/nsHTMLAtoms.cpp @@ -31,6 +31,7 @@ nsIAtom* nsHTMLAtoms::accept; nsIAtom* nsHTMLAtoms::acceptcharset; nsIAtom* nsHTMLAtoms::accesskey; nsIAtom* nsHTMLAtoms::action; +nsIAtom* nsHTMLAtoms::afterPseudo; nsIAtom* nsHTMLAtoms::align; nsIAtom* nsHTMLAtoms::alink; nsIAtom* nsHTMLAtoms::alt; @@ -39,6 +40,7 @@ nsIAtom* nsHTMLAtoms::archive; nsIAtom* nsHTMLAtoms::area; nsIAtom* nsHTMLAtoms::axis; nsIAtom* nsHTMLAtoms::background; +nsIAtom* nsHTMLAtoms::beforePseudo; nsIAtom* nsHTMLAtoms::below; nsIAtom* nsHTMLAtoms::bgcolor; nsIAtom* nsHTMLAtoms::blockFrame; @@ -288,6 +290,7 @@ void nsHTMLAtoms::AddrefAtoms() acceptcharset = NS_NewAtom("acceptcharset"); accesskey = NS_NewAtom("accesskey"); action = NS_NewAtom("action"); + afterPseudo = NS_NewAtom(":after"); align = NS_NewAtom("align"); alink = NS_NewAtom("alink"); alt = NS_NewAtom("alt"); @@ -296,6 +299,7 @@ void nsHTMLAtoms::AddrefAtoms() area = NS_NewAtom("area"); axis = NS_NewAtom("axis"); background = NS_NewAtom("background"); + beforePseudo = NS_NewAtom(":before"); below = NS_NewAtom("below"); bgcolor = NS_NewAtom("bgcolor"); blockFrame = NS_NewAtom("BlockFrame"); @@ -543,6 +547,7 @@ void nsHTMLAtoms::ReleaseAtoms() NS_RELEASE(abbr); NS_RELEASE(above); NS_RELEASE(action); + NS_RELEASE(afterPseudo); NS_RELEASE(align); NS_RELEASE(alink); NS_RELEASE(alt); @@ -551,6 +556,7 @@ void nsHTMLAtoms::ReleaseAtoms() NS_RELEASE(area); NS_RELEASE(axis); NS_RELEASE(background); + NS_RELEASE(beforePseudo); NS_RELEASE(below); NS_RELEASE(bgcolor); NS_RELEASE(blockFrame); diff --git a/layout/html/base/src/nsHTMLAtoms.cpp b/layout/html/base/src/nsHTMLAtoms.cpp index c3406639db9..25dc157caa9 100644 --- a/layout/html/base/src/nsHTMLAtoms.cpp +++ b/layout/html/base/src/nsHTMLAtoms.cpp @@ -31,6 +31,7 @@ nsIAtom* nsHTMLAtoms::accept; nsIAtom* nsHTMLAtoms::acceptcharset; nsIAtom* nsHTMLAtoms::accesskey; nsIAtom* nsHTMLAtoms::action; +nsIAtom* nsHTMLAtoms::afterPseudo; nsIAtom* nsHTMLAtoms::align; nsIAtom* nsHTMLAtoms::alink; nsIAtom* nsHTMLAtoms::alt; @@ -39,6 +40,7 @@ nsIAtom* nsHTMLAtoms::archive; nsIAtom* nsHTMLAtoms::area; nsIAtom* nsHTMLAtoms::axis; nsIAtom* nsHTMLAtoms::background; +nsIAtom* nsHTMLAtoms::beforePseudo; nsIAtom* nsHTMLAtoms::below; nsIAtom* nsHTMLAtoms::bgcolor; nsIAtom* nsHTMLAtoms::blockFrame; @@ -288,6 +290,7 @@ void nsHTMLAtoms::AddrefAtoms() acceptcharset = NS_NewAtom("acceptcharset"); accesskey = NS_NewAtom("accesskey"); action = NS_NewAtom("action"); + afterPseudo = NS_NewAtom(":after"); align = NS_NewAtom("align"); alink = NS_NewAtom("alink"); alt = NS_NewAtom("alt"); @@ -296,6 +299,7 @@ void nsHTMLAtoms::AddrefAtoms() area = NS_NewAtom("area"); axis = NS_NewAtom("axis"); background = NS_NewAtom("background"); + beforePseudo = NS_NewAtom(":before"); below = NS_NewAtom("below"); bgcolor = NS_NewAtom("bgcolor"); blockFrame = NS_NewAtom("BlockFrame"); @@ -543,6 +547,7 @@ void nsHTMLAtoms::ReleaseAtoms() NS_RELEASE(abbr); NS_RELEASE(above); NS_RELEASE(action); + NS_RELEASE(afterPseudo); NS_RELEASE(align); NS_RELEASE(alink); NS_RELEASE(alt); @@ -551,6 +556,7 @@ void nsHTMLAtoms::ReleaseAtoms() NS_RELEASE(area); NS_RELEASE(axis); NS_RELEASE(background); + NS_RELEASE(beforePseudo); NS_RELEASE(below); NS_RELEASE(bgcolor); NS_RELEASE(blockFrame); diff --git a/layout/html/base/src/nsHTMLAtoms.h b/layout/html/base/src/nsHTMLAtoms.h index a414388c166..afd42e516c4 100644 --- a/layout/html/base/src/nsHTMLAtoms.h +++ b/layout/html/base/src/nsHTMLAtoms.h @@ -50,6 +50,7 @@ public: static nsIAtom* acceptcharset; static nsIAtom* accesskey; static nsIAtom* action; + static nsIAtom* afterPseudo; static nsIAtom* align; static nsIAtom* alink; static nsIAtom* alt; @@ -59,6 +60,7 @@ public: static nsIAtom* axis; static nsIAtom* background; + static nsIAtom* beforePseudo; static nsIAtom* below; static nsIAtom* bgcolor; static nsIAtom* blockFrame;