From 59693414e73ed0ae59589704223664798b3c9152 Mon Sep 17 00:00:00 2001 From: "peterl%netscape.com" Date: Fri, 11 Dec 1998 02:36:36 +0000 Subject: [PATCH] removed pseudo class atoms (moved to css atoms) --- content/html/content/src/nsHTMLAtoms.cpp | 12 ------------ content/html/content/src/nsHTMLAtoms.h | 4 ---- content/shared/public/nsHTMLAtoms.h | 4 ---- content/shared/src/nsHTMLAtoms.cpp | 12 ------------ layout/html/base/src/nsHTMLAtoms.cpp | 12 ------------ layout/html/base/src/nsHTMLAtoms.h | 4 ---- 6 files changed, 48 deletions(-) diff --git a/content/html/content/src/nsHTMLAtoms.cpp b/content/html/content/src/nsHTMLAtoms.cpp index a349e0e5b361..bceb30d29411 100644 --- a/content/html/content/src/nsHTMLAtoms.cpp +++ b/content/html/content/src/nsHTMLAtoms.cpp @@ -28,7 +28,6 @@ nsIAtom* nsHTMLAtoms::accept; nsIAtom* nsHTMLAtoms::acceptcharset; nsIAtom* nsHTMLAtoms::accesskey; nsIAtom* nsHTMLAtoms::action; -nsIAtom* nsHTMLAtoms::active; nsIAtom* nsHTMLAtoms::align; nsIAtom* nsHTMLAtoms::alink; nsIAtom* nsHTMLAtoms::alt; @@ -109,7 +108,6 @@ nsIAtom* nsHTMLAtoms::headers; nsIAtom* nsHTMLAtoms::height; nsIAtom* nsHTMLAtoms::hidden; nsIAtom* nsHTMLAtoms::horizontalFramesetBorderPseudo; -nsIAtom* nsHTMLAtoms::hover; nsIAtom* nsHTMLAtoms::hr; nsIAtom* nsHTMLAtoms::href; nsIAtom* nsHTMLAtoms::hreflang; @@ -172,7 +170,6 @@ nsIAtom* nsHTMLAtoms::onpaint; nsIAtom* nsHTMLAtoms::onreset; nsIAtom* nsHTMLAtoms::onsubmit; nsIAtom* nsHTMLAtoms::onunload; -nsIAtom* nsHTMLAtoms::outOfDate; nsIAtom* nsHTMLAtoms::overflow; nsIAtom* nsHTMLAtoms::p; nsIAtom* nsHTMLAtoms::pagex; @@ -240,7 +237,6 @@ nsIAtom* nsHTMLAtoms::variable; nsIAtom* nsHTMLAtoms::version; nsIAtom* nsHTMLAtoms::verticalFramesetBorderPseudo; nsIAtom* nsHTMLAtoms::visibility; -nsIAtom* nsHTMLAtoms::visited; nsIAtom* nsHTMLAtoms::vlink; nsIAtom* nsHTMLAtoms::vspace; nsIAtom* nsHTMLAtoms::wbr; @@ -265,7 +261,6 @@ void nsHTMLAtoms::AddrefAtoms() acceptcharset = NS_NewAtom("ACCEPTCHARSET"); accesskey = NS_NewAtom("ACCESSKEY"); action = NS_NewAtom("ACTION"); - active = NS_NewAtom("ACTIVE"); align = NS_NewAtom("ALIGN"); alink = NS_NewAtom("ALINK"); alt = NS_NewAtom("ALT"); @@ -346,7 +341,6 @@ void nsHTMLAtoms::AddrefAtoms() height = NS_NewAtom("HEIGHT"); hidden = NS_NewAtom("HIDDEN"); horizontalFramesetBorderPseudo = NS_NewAtom(":HFRAMESET-BORDER"); - hover = NS_NewAtom("HOVER"); hr = NS_NewAtom("HR"); href = NS_NewAtom("HREF"); hreflang = NS_NewAtom("HREFLANG"); @@ -408,7 +402,6 @@ void nsHTMLAtoms::AddrefAtoms() onreset = NS_NewAtom("ONRESET"); onsubmit = NS_NewAtom("ONSUBMIT"); onunload = NS_NewAtom("ONUNLOAD"); - outOfDate = NS_NewAtom("OUT-OF-DATE"); overflow = NS_NewAtom("OVERFLOW"); p = NS_NewAtom("P"); pagex = NS_NewAtom("PAGEX"); @@ -476,7 +469,6 @@ void nsHTMLAtoms::AddrefAtoms() version = NS_NewAtom("VERSION"); verticalFramesetBorderPseudo = NS_NewAtom(":VFRAMESET-BORDER"); visibility = NS_NewAtom("VISIBILITY"); - visited = NS_NewAtom("VISITED"); vlink = NS_NewAtom("VLINK"); vspace = NS_NewAtom("VSPACE"); wbr = NS_NewAtom("WBR"); @@ -499,7 +491,6 @@ void nsHTMLAtoms::ReleaseAtoms() NS_RELEASE(abbr); NS_RELEASE(above); NS_RELEASE(action); - NS_RELEASE(active); NS_RELEASE(align); NS_RELEASE(alink); NS_RELEASE(alt); @@ -578,7 +569,6 @@ void nsHTMLAtoms::ReleaseAtoms() NS_RELEASE(height); NS_RELEASE(hidden); NS_RELEASE(horizontalFramesetBorderPseudo); - NS_RELEASE(hover); NS_RELEASE(hr); NS_RELEASE(href); NS_RELEASE(hspace); @@ -639,7 +629,6 @@ void nsHTMLAtoms::ReleaseAtoms() NS_RELEASE(onreset); NS_RELEASE(onsubmit); NS_RELEASE(onunload); - NS_RELEASE(outOfDate); NS_RELEASE(overflow); NS_RELEASE(p); NS_RELEASE(pagex); @@ -703,7 +692,6 @@ void nsHTMLAtoms::ReleaseAtoms() NS_RELEASE(version); NS_RELEASE(verticalFramesetBorderPseudo); NS_RELEASE(visibility); - NS_RELEASE(visited); NS_RELEASE(vlink); NS_RELEASE(vspace); NS_RELEASE(wbr); diff --git a/content/html/content/src/nsHTMLAtoms.h b/content/html/content/src/nsHTMLAtoms.h index 99121e780316..497c75a2bdb9 100644 --- a/content/html/content/src/nsHTMLAtoms.h +++ b/content/html/content/src/nsHTMLAtoms.h @@ -47,7 +47,6 @@ public: static nsIAtom* acceptcharset; static nsIAtom* accesskey; static nsIAtom* action; - static nsIAtom* active; static nsIAtom* align; static nsIAtom* alink; static nsIAtom* alt; @@ -135,7 +134,6 @@ public: static nsIAtom* height; static nsIAtom* hidden; static nsIAtom* horizontalFramesetBorderPseudo; - static nsIAtom* hover; static nsIAtom* hr; static nsIAtom* href; static nsIAtom* hreflang; @@ -203,7 +201,6 @@ public: static nsIAtom* onreset; static nsIAtom* onsubmit; static nsIAtom* onunload; - static nsIAtom* outOfDate; static nsIAtom* overflow; static nsIAtom* p; @@ -277,7 +274,6 @@ public: static nsIAtom* version; static nsIAtom* verticalFramesetBorderPseudo; static nsIAtom* visibility; - static nsIAtom* visited; static nsIAtom* vlink; static nsIAtom* vspace; diff --git a/content/shared/public/nsHTMLAtoms.h b/content/shared/public/nsHTMLAtoms.h index 99121e780316..497c75a2bdb9 100644 --- a/content/shared/public/nsHTMLAtoms.h +++ b/content/shared/public/nsHTMLAtoms.h @@ -47,7 +47,6 @@ public: static nsIAtom* acceptcharset; static nsIAtom* accesskey; static nsIAtom* action; - static nsIAtom* active; static nsIAtom* align; static nsIAtom* alink; static nsIAtom* alt; @@ -135,7 +134,6 @@ public: static nsIAtom* height; static nsIAtom* hidden; static nsIAtom* horizontalFramesetBorderPseudo; - static nsIAtom* hover; static nsIAtom* hr; static nsIAtom* href; static nsIAtom* hreflang; @@ -203,7 +201,6 @@ public: static nsIAtom* onreset; static nsIAtom* onsubmit; static nsIAtom* onunload; - static nsIAtom* outOfDate; static nsIAtom* overflow; static nsIAtom* p; @@ -277,7 +274,6 @@ public: static nsIAtom* version; static nsIAtom* verticalFramesetBorderPseudo; static nsIAtom* visibility; - static nsIAtom* visited; static nsIAtom* vlink; static nsIAtom* vspace; diff --git a/content/shared/src/nsHTMLAtoms.cpp b/content/shared/src/nsHTMLAtoms.cpp index a349e0e5b361..bceb30d29411 100644 --- a/content/shared/src/nsHTMLAtoms.cpp +++ b/content/shared/src/nsHTMLAtoms.cpp @@ -28,7 +28,6 @@ nsIAtom* nsHTMLAtoms::accept; nsIAtom* nsHTMLAtoms::acceptcharset; nsIAtom* nsHTMLAtoms::accesskey; nsIAtom* nsHTMLAtoms::action; -nsIAtom* nsHTMLAtoms::active; nsIAtom* nsHTMLAtoms::align; nsIAtom* nsHTMLAtoms::alink; nsIAtom* nsHTMLAtoms::alt; @@ -109,7 +108,6 @@ nsIAtom* nsHTMLAtoms::headers; nsIAtom* nsHTMLAtoms::height; nsIAtom* nsHTMLAtoms::hidden; nsIAtom* nsHTMLAtoms::horizontalFramesetBorderPseudo; -nsIAtom* nsHTMLAtoms::hover; nsIAtom* nsHTMLAtoms::hr; nsIAtom* nsHTMLAtoms::href; nsIAtom* nsHTMLAtoms::hreflang; @@ -172,7 +170,6 @@ nsIAtom* nsHTMLAtoms::onpaint; nsIAtom* nsHTMLAtoms::onreset; nsIAtom* nsHTMLAtoms::onsubmit; nsIAtom* nsHTMLAtoms::onunload; -nsIAtom* nsHTMLAtoms::outOfDate; nsIAtom* nsHTMLAtoms::overflow; nsIAtom* nsHTMLAtoms::p; nsIAtom* nsHTMLAtoms::pagex; @@ -240,7 +237,6 @@ nsIAtom* nsHTMLAtoms::variable; nsIAtom* nsHTMLAtoms::version; nsIAtom* nsHTMLAtoms::verticalFramesetBorderPseudo; nsIAtom* nsHTMLAtoms::visibility; -nsIAtom* nsHTMLAtoms::visited; nsIAtom* nsHTMLAtoms::vlink; nsIAtom* nsHTMLAtoms::vspace; nsIAtom* nsHTMLAtoms::wbr; @@ -265,7 +261,6 @@ void nsHTMLAtoms::AddrefAtoms() acceptcharset = NS_NewAtom("ACCEPTCHARSET"); accesskey = NS_NewAtom("ACCESSKEY"); action = NS_NewAtom("ACTION"); - active = NS_NewAtom("ACTIVE"); align = NS_NewAtom("ALIGN"); alink = NS_NewAtom("ALINK"); alt = NS_NewAtom("ALT"); @@ -346,7 +341,6 @@ void nsHTMLAtoms::AddrefAtoms() height = NS_NewAtom("HEIGHT"); hidden = NS_NewAtom("HIDDEN"); horizontalFramesetBorderPseudo = NS_NewAtom(":HFRAMESET-BORDER"); - hover = NS_NewAtom("HOVER"); hr = NS_NewAtom("HR"); href = NS_NewAtom("HREF"); hreflang = NS_NewAtom("HREFLANG"); @@ -408,7 +402,6 @@ void nsHTMLAtoms::AddrefAtoms() onreset = NS_NewAtom("ONRESET"); onsubmit = NS_NewAtom("ONSUBMIT"); onunload = NS_NewAtom("ONUNLOAD"); - outOfDate = NS_NewAtom("OUT-OF-DATE"); overflow = NS_NewAtom("OVERFLOW"); p = NS_NewAtom("P"); pagex = NS_NewAtom("PAGEX"); @@ -476,7 +469,6 @@ void nsHTMLAtoms::AddrefAtoms() version = NS_NewAtom("VERSION"); verticalFramesetBorderPseudo = NS_NewAtom(":VFRAMESET-BORDER"); visibility = NS_NewAtom("VISIBILITY"); - visited = NS_NewAtom("VISITED"); vlink = NS_NewAtom("VLINK"); vspace = NS_NewAtom("VSPACE"); wbr = NS_NewAtom("WBR"); @@ -499,7 +491,6 @@ void nsHTMLAtoms::ReleaseAtoms() NS_RELEASE(abbr); NS_RELEASE(above); NS_RELEASE(action); - NS_RELEASE(active); NS_RELEASE(align); NS_RELEASE(alink); NS_RELEASE(alt); @@ -578,7 +569,6 @@ void nsHTMLAtoms::ReleaseAtoms() NS_RELEASE(height); NS_RELEASE(hidden); NS_RELEASE(horizontalFramesetBorderPseudo); - NS_RELEASE(hover); NS_RELEASE(hr); NS_RELEASE(href); NS_RELEASE(hspace); @@ -639,7 +629,6 @@ void nsHTMLAtoms::ReleaseAtoms() NS_RELEASE(onreset); NS_RELEASE(onsubmit); NS_RELEASE(onunload); - NS_RELEASE(outOfDate); NS_RELEASE(overflow); NS_RELEASE(p); NS_RELEASE(pagex); @@ -703,7 +692,6 @@ void nsHTMLAtoms::ReleaseAtoms() NS_RELEASE(version); NS_RELEASE(verticalFramesetBorderPseudo); NS_RELEASE(visibility); - NS_RELEASE(visited); NS_RELEASE(vlink); NS_RELEASE(vspace); NS_RELEASE(wbr); diff --git a/layout/html/base/src/nsHTMLAtoms.cpp b/layout/html/base/src/nsHTMLAtoms.cpp index a349e0e5b361..bceb30d29411 100644 --- a/layout/html/base/src/nsHTMLAtoms.cpp +++ b/layout/html/base/src/nsHTMLAtoms.cpp @@ -28,7 +28,6 @@ nsIAtom* nsHTMLAtoms::accept; nsIAtom* nsHTMLAtoms::acceptcharset; nsIAtom* nsHTMLAtoms::accesskey; nsIAtom* nsHTMLAtoms::action; -nsIAtom* nsHTMLAtoms::active; nsIAtom* nsHTMLAtoms::align; nsIAtom* nsHTMLAtoms::alink; nsIAtom* nsHTMLAtoms::alt; @@ -109,7 +108,6 @@ nsIAtom* nsHTMLAtoms::headers; nsIAtom* nsHTMLAtoms::height; nsIAtom* nsHTMLAtoms::hidden; nsIAtom* nsHTMLAtoms::horizontalFramesetBorderPseudo; -nsIAtom* nsHTMLAtoms::hover; nsIAtom* nsHTMLAtoms::hr; nsIAtom* nsHTMLAtoms::href; nsIAtom* nsHTMLAtoms::hreflang; @@ -172,7 +170,6 @@ nsIAtom* nsHTMLAtoms::onpaint; nsIAtom* nsHTMLAtoms::onreset; nsIAtom* nsHTMLAtoms::onsubmit; nsIAtom* nsHTMLAtoms::onunload; -nsIAtom* nsHTMLAtoms::outOfDate; nsIAtom* nsHTMLAtoms::overflow; nsIAtom* nsHTMLAtoms::p; nsIAtom* nsHTMLAtoms::pagex; @@ -240,7 +237,6 @@ nsIAtom* nsHTMLAtoms::variable; nsIAtom* nsHTMLAtoms::version; nsIAtom* nsHTMLAtoms::verticalFramesetBorderPseudo; nsIAtom* nsHTMLAtoms::visibility; -nsIAtom* nsHTMLAtoms::visited; nsIAtom* nsHTMLAtoms::vlink; nsIAtom* nsHTMLAtoms::vspace; nsIAtom* nsHTMLAtoms::wbr; @@ -265,7 +261,6 @@ void nsHTMLAtoms::AddrefAtoms() acceptcharset = NS_NewAtom("ACCEPTCHARSET"); accesskey = NS_NewAtom("ACCESSKEY"); action = NS_NewAtom("ACTION"); - active = NS_NewAtom("ACTIVE"); align = NS_NewAtom("ALIGN"); alink = NS_NewAtom("ALINK"); alt = NS_NewAtom("ALT"); @@ -346,7 +341,6 @@ void nsHTMLAtoms::AddrefAtoms() height = NS_NewAtom("HEIGHT"); hidden = NS_NewAtom("HIDDEN"); horizontalFramesetBorderPseudo = NS_NewAtom(":HFRAMESET-BORDER"); - hover = NS_NewAtom("HOVER"); hr = NS_NewAtom("HR"); href = NS_NewAtom("HREF"); hreflang = NS_NewAtom("HREFLANG"); @@ -408,7 +402,6 @@ void nsHTMLAtoms::AddrefAtoms() onreset = NS_NewAtom("ONRESET"); onsubmit = NS_NewAtom("ONSUBMIT"); onunload = NS_NewAtom("ONUNLOAD"); - outOfDate = NS_NewAtom("OUT-OF-DATE"); overflow = NS_NewAtom("OVERFLOW"); p = NS_NewAtom("P"); pagex = NS_NewAtom("PAGEX"); @@ -476,7 +469,6 @@ void nsHTMLAtoms::AddrefAtoms() version = NS_NewAtom("VERSION"); verticalFramesetBorderPseudo = NS_NewAtom(":VFRAMESET-BORDER"); visibility = NS_NewAtom("VISIBILITY"); - visited = NS_NewAtom("VISITED"); vlink = NS_NewAtom("VLINK"); vspace = NS_NewAtom("VSPACE"); wbr = NS_NewAtom("WBR"); @@ -499,7 +491,6 @@ void nsHTMLAtoms::ReleaseAtoms() NS_RELEASE(abbr); NS_RELEASE(above); NS_RELEASE(action); - NS_RELEASE(active); NS_RELEASE(align); NS_RELEASE(alink); NS_RELEASE(alt); @@ -578,7 +569,6 @@ void nsHTMLAtoms::ReleaseAtoms() NS_RELEASE(height); NS_RELEASE(hidden); NS_RELEASE(horizontalFramesetBorderPseudo); - NS_RELEASE(hover); NS_RELEASE(hr); NS_RELEASE(href); NS_RELEASE(hspace); @@ -639,7 +629,6 @@ void nsHTMLAtoms::ReleaseAtoms() NS_RELEASE(onreset); NS_RELEASE(onsubmit); NS_RELEASE(onunload); - NS_RELEASE(outOfDate); NS_RELEASE(overflow); NS_RELEASE(p); NS_RELEASE(pagex); @@ -703,7 +692,6 @@ void nsHTMLAtoms::ReleaseAtoms() NS_RELEASE(version); NS_RELEASE(verticalFramesetBorderPseudo); NS_RELEASE(visibility); - NS_RELEASE(visited); NS_RELEASE(vlink); NS_RELEASE(vspace); NS_RELEASE(wbr); diff --git a/layout/html/base/src/nsHTMLAtoms.h b/layout/html/base/src/nsHTMLAtoms.h index 99121e780316..497c75a2bdb9 100644 --- a/layout/html/base/src/nsHTMLAtoms.h +++ b/layout/html/base/src/nsHTMLAtoms.h @@ -47,7 +47,6 @@ public: static nsIAtom* acceptcharset; static nsIAtom* accesskey; static nsIAtom* action; - static nsIAtom* active; static nsIAtom* align; static nsIAtom* alink; static nsIAtom* alt; @@ -135,7 +134,6 @@ public: static nsIAtom* height; static nsIAtom* hidden; static nsIAtom* horizontalFramesetBorderPseudo; - static nsIAtom* hover; static nsIAtom* hr; static nsIAtom* href; static nsIAtom* hreflang; @@ -203,7 +201,6 @@ public: static nsIAtom* onreset; static nsIAtom* onsubmit; static nsIAtom* onunload; - static nsIAtom* outOfDate; static nsIAtom* overflow; static nsIAtom* p; @@ -277,7 +274,6 @@ public: static nsIAtom* version; static nsIAtom* verticalFramesetBorderPseudo; static nsIAtom* visibility; - static nsIAtom* visited; static nsIAtom* vlink; static nsIAtom* vspace;