From 138ffb41d2f4dc1dbf634fe2de07cea7b3e794a8 Mon Sep 17 00:00:00 2001 From: "kipp%netscape.com" Date: Mon, 26 Oct 1998 17:27:04 +0000 Subject: [PATCH] Added new atoms git-svn-id: svn://10.0.0.236/trunk@13448 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/content/html/content/src/nsHTMLAtoms.cpp | 6 ++++++ mozilla/content/html/content/src/nsHTMLAtoms.h | 2 ++ mozilla/content/shared/public/nsHTMLAtoms.h | 2 ++ mozilla/content/shared/src/nsHTMLAtoms.cpp | 6 ++++++ mozilla/layout/html/base/src/nsHTMLAtoms.cpp | 6 ++++++ mozilla/layout/html/base/src/nsHTMLAtoms.h | 2 ++ 6 files changed, 24 insertions(+) diff --git a/mozilla/content/html/content/src/nsHTMLAtoms.cpp b/mozilla/content/html/content/src/nsHTMLAtoms.cpp index 5c294b59a4e..0d2992d5706 100644 --- a/mozilla/content/html/content/src/nsHTMLAtoms.cpp +++ b/mozilla/content/html/content/src/nsHTMLAtoms.cpp @@ -85,6 +85,8 @@ nsIAtom* nsHTMLAtoms::encoding; nsIAtom* nsHTMLAtoms::enctype; nsIAtom* nsHTMLAtoms::face; nsIAtom* nsHTMLAtoms::fieldset; +nsIAtom* nsHTMLAtoms::firstLetterPseudo; +nsIAtom* nsHTMLAtoms::firstLinePseudo; nsIAtom* nsHTMLAtoms::font; nsIAtom* nsHTMLAtoms::fontWeight; nsIAtom* nsHTMLAtoms::_for; @@ -303,6 +305,8 @@ void nsHTMLAtoms::AddrefAtoms() enctype = NS_NewAtom("ENCTYPE"); face = NS_NewAtom("FACE"); fieldset = NS_NewAtom("FIELDSET"); + firstLetterPseudo = NS_NewAtom(":FIRST-LETTER"); + firstLinePseudo = NS_NewAtom(":FIRST-LINE"); font = NS_NewAtom("FONT"); fontWeight = NS_NewAtom("FONT-WEIGHT"); _for = NS_NewAtom("FOR"); @@ -517,6 +521,8 @@ void nsHTMLAtoms::ReleaseAtoms() NS_RELEASE(encoding); NS_RELEASE(face); NS_RELEASE(fieldset); + NS_RELEASE(firstLetterPseudo); + NS_RELEASE(firstLinePseudo); NS_RELEASE(font); NS_RELEASE(fontWeight); NS_RELEASE(_for); diff --git a/mozilla/content/html/content/src/nsHTMLAtoms.h b/mozilla/content/html/content/src/nsHTMLAtoms.h index ad8f32d0fde..c7d92922af4 100644 --- a/mozilla/content/html/content/src/nsHTMLAtoms.h +++ b/mozilla/content/html/content/src/nsHTMLAtoms.h @@ -109,6 +109,8 @@ public: static nsIAtom* face; static nsIAtom* fieldset; + static nsIAtom* firstLetterPseudo; + static nsIAtom* firstLinePseudo; static nsIAtom* font; static nsIAtom* fontWeight; static nsIAtom* _for; diff --git a/mozilla/content/shared/public/nsHTMLAtoms.h b/mozilla/content/shared/public/nsHTMLAtoms.h index ad8f32d0fde..c7d92922af4 100644 --- a/mozilla/content/shared/public/nsHTMLAtoms.h +++ b/mozilla/content/shared/public/nsHTMLAtoms.h @@ -109,6 +109,8 @@ public: static nsIAtom* face; static nsIAtom* fieldset; + static nsIAtom* firstLetterPseudo; + static nsIAtom* firstLinePseudo; static nsIAtom* font; static nsIAtom* fontWeight; static nsIAtom* _for; diff --git a/mozilla/content/shared/src/nsHTMLAtoms.cpp b/mozilla/content/shared/src/nsHTMLAtoms.cpp index 5c294b59a4e..0d2992d5706 100644 --- a/mozilla/content/shared/src/nsHTMLAtoms.cpp +++ b/mozilla/content/shared/src/nsHTMLAtoms.cpp @@ -85,6 +85,8 @@ nsIAtom* nsHTMLAtoms::encoding; nsIAtom* nsHTMLAtoms::enctype; nsIAtom* nsHTMLAtoms::face; nsIAtom* nsHTMLAtoms::fieldset; +nsIAtom* nsHTMLAtoms::firstLetterPseudo; +nsIAtom* nsHTMLAtoms::firstLinePseudo; nsIAtom* nsHTMLAtoms::font; nsIAtom* nsHTMLAtoms::fontWeight; nsIAtom* nsHTMLAtoms::_for; @@ -303,6 +305,8 @@ void nsHTMLAtoms::AddrefAtoms() enctype = NS_NewAtom("ENCTYPE"); face = NS_NewAtom("FACE"); fieldset = NS_NewAtom("FIELDSET"); + firstLetterPseudo = NS_NewAtom(":FIRST-LETTER"); + firstLinePseudo = NS_NewAtom(":FIRST-LINE"); font = NS_NewAtom("FONT"); fontWeight = NS_NewAtom("FONT-WEIGHT"); _for = NS_NewAtom("FOR"); @@ -517,6 +521,8 @@ void nsHTMLAtoms::ReleaseAtoms() NS_RELEASE(encoding); NS_RELEASE(face); NS_RELEASE(fieldset); + NS_RELEASE(firstLetterPseudo); + NS_RELEASE(firstLinePseudo); NS_RELEASE(font); NS_RELEASE(fontWeight); NS_RELEASE(_for); diff --git a/mozilla/layout/html/base/src/nsHTMLAtoms.cpp b/mozilla/layout/html/base/src/nsHTMLAtoms.cpp index 5c294b59a4e..0d2992d5706 100644 --- a/mozilla/layout/html/base/src/nsHTMLAtoms.cpp +++ b/mozilla/layout/html/base/src/nsHTMLAtoms.cpp @@ -85,6 +85,8 @@ nsIAtom* nsHTMLAtoms::encoding; nsIAtom* nsHTMLAtoms::enctype; nsIAtom* nsHTMLAtoms::face; nsIAtom* nsHTMLAtoms::fieldset; +nsIAtom* nsHTMLAtoms::firstLetterPseudo; +nsIAtom* nsHTMLAtoms::firstLinePseudo; nsIAtom* nsHTMLAtoms::font; nsIAtom* nsHTMLAtoms::fontWeight; nsIAtom* nsHTMLAtoms::_for; @@ -303,6 +305,8 @@ void nsHTMLAtoms::AddrefAtoms() enctype = NS_NewAtom("ENCTYPE"); face = NS_NewAtom("FACE"); fieldset = NS_NewAtom("FIELDSET"); + firstLetterPseudo = NS_NewAtom(":FIRST-LETTER"); + firstLinePseudo = NS_NewAtom(":FIRST-LINE"); font = NS_NewAtom("FONT"); fontWeight = NS_NewAtom("FONT-WEIGHT"); _for = NS_NewAtom("FOR"); @@ -517,6 +521,8 @@ void nsHTMLAtoms::ReleaseAtoms() NS_RELEASE(encoding); NS_RELEASE(face); NS_RELEASE(fieldset); + NS_RELEASE(firstLetterPseudo); + NS_RELEASE(firstLinePseudo); NS_RELEASE(font); NS_RELEASE(fontWeight); NS_RELEASE(_for); diff --git a/mozilla/layout/html/base/src/nsHTMLAtoms.h b/mozilla/layout/html/base/src/nsHTMLAtoms.h index ad8f32d0fde..c7d92922af4 100644 --- a/mozilla/layout/html/base/src/nsHTMLAtoms.h +++ b/mozilla/layout/html/base/src/nsHTMLAtoms.h @@ -109,6 +109,8 @@ public: static nsIAtom* face; static nsIAtom* fieldset; + static nsIAtom* firstLetterPseudo; + static nsIAtom* firstLinePseudo; static nsIAtom* font; static nsIAtom* fontWeight; static nsIAtom* _for;