From 2ae6430c3d8d5041f026c9688adfede5fe41cdb9 Mon Sep 17 00:00:00 2001 From: "kipp%netscape.com" Date: Thu, 24 Sep 1998 21:32:12 +0000 Subject: [PATCH] Added bullet pseudo style attribute --- content/html/content/src/nsHTMLAtoms.cpp | 3 +++ content/html/content/src/nsHTMLAtoms.h | 1 + content/shared/public/nsHTMLAtoms.h | 1 + content/shared/src/nsHTMLAtoms.cpp | 3 +++ layout/html/base/src/nsHTMLAtoms.cpp | 3 +++ layout/html/base/src/nsHTMLAtoms.h | 1 + 6 files changed, 12 insertions(+) diff --git a/content/html/content/src/nsHTMLAtoms.cpp b/content/html/content/src/nsHTMLAtoms.cpp index 1ccdcb22b627..f1f29e5dcac3 100644 --- a/content/html/content/src/nsHTMLAtoms.cpp +++ b/content/html/content/src/nsHTMLAtoms.cpp @@ -43,6 +43,7 @@ nsIAtom* nsHTMLAtoms::border; nsIAtom* nsHTMLAtoms::bordercolor; nsIAtom* nsHTMLAtoms::bottompadding; nsIAtom* nsHTMLAtoms::br; +nsIAtom* nsHTMLAtoms::bulletPseudo; nsIAtom* nsHTMLAtoms::caption; nsIAtom* nsHTMLAtoms::cellpadding; nsIAtom* nsHTMLAtoms::cellspacing; @@ -251,6 +252,7 @@ void nsHTMLAtoms::AddrefAtoms() bordercolor = NS_NewAtom("BORDERCOLOR"); bottompadding = NS_NewAtom("BOTTOMPADDING"); br = NS_NewAtom("BR"); + bulletPseudo = NS_NewAtom(":BULLET"); caption = NS_NewAtom("CAPTION"); cellpadding = NS_NewAtom("CELLPADDING"); cellspacing = NS_NewAtom("CELLSPACING"); @@ -456,6 +458,7 @@ void nsHTMLAtoms::ReleaseAtoms() NS_RELEASE(bordercolor); NS_RELEASE(bottompadding); NS_RELEASE(br); + NS_RELEASE(bulletPseudo); NS_RELEASE(caption); NS_RELEASE(cellpadding); NS_RELEASE(cellspacing); diff --git a/content/html/content/src/nsHTMLAtoms.h b/content/html/content/src/nsHTMLAtoms.h index 46cc95da3236..8b625ac93de9 100644 --- a/content/html/content/src/nsHTMLAtoms.h +++ b/content/html/content/src/nsHTMLAtoms.h @@ -63,6 +63,7 @@ public: static nsIAtom* bordercolor; static nsIAtom* bottompadding; static nsIAtom* br; + static nsIAtom* bulletPseudo; static nsIAtom* caption; static nsIAtom* cellpadding; diff --git a/content/shared/public/nsHTMLAtoms.h b/content/shared/public/nsHTMLAtoms.h index 46cc95da3236..8b625ac93de9 100644 --- a/content/shared/public/nsHTMLAtoms.h +++ b/content/shared/public/nsHTMLAtoms.h @@ -63,6 +63,7 @@ public: static nsIAtom* bordercolor; static nsIAtom* bottompadding; static nsIAtom* br; + static nsIAtom* bulletPseudo; static nsIAtom* caption; static nsIAtom* cellpadding; diff --git a/content/shared/src/nsHTMLAtoms.cpp b/content/shared/src/nsHTMLAtoms.cpp index 1ccdcb22b627..f1f29e5dcac3 100644 --- a/content/shared/src/nsHTMLAtoms.cpp +++ b/content/shared/src/nsHTMLAtoms.cpp @@ -43,6 +43,7 @@ nsIAtom* nsHTMLAtoms::border; nsIAtom* nsHTMLAtoms::bordercolor; nsIAtom* nsHTMLAtoms::bottompadding; nsIAtom* nsHTMLAtoms::br; +nsIAtom* nsHTMLAtoms::bulletPseudo; nsIAtom* nsHTMLAtoms::caption; nsIAtom* nsHTMLAtoms::cellpadding; nsIAtom* nsHTMLAtoms::cellspacing; @@ -251,6 +252,7 @@ void nsHTMLAtoms::AddrefAtoms() bordercolor = NS_NewAtom("BORDERCOLOR"); bottompadding = NS_NewAtom("BOTTOMPADDING"); br = NS_NewAtom("BR"); + bulletPseudo = NS_NewAtom(":BULLET"); caption = NS_NewAtom("CAPTION"); cellpadding = NS_NewAtom("CELLPADDING"); cellspacing = NS_NewAtom("CELLSPACING"); @@ -456,6 +458,7 @@ void nsHTMLAtoms::ReleaseAtoms() NS_RELEASE(bordercolor); NS_RELEASE(bottompadding); NS_RELEASE(br); + NS_RELEASE(bulletPseudo); NS_RELEASE(caption); NS_RELEASE(cellpadding); NS_RELEASE(cellspacing); diff --git a/layout/html/base/src/nsHTMLAtoms.cpp b/layout/html/base/src/nsHTMLAtoms.cpp index 1ccdcb22b627..f1f29e5dcac3 100644 --- a/layout/html/base/src/nsHTMLAtoms.cpp +++ b/layout/html/base/src/nsHTMLAtoms.cpp @@ -43,6 +43,7 @@ nsIAtom* nsHTMLAtoms::border; nsIAtom* nsHTMLAtoms::bordercolor; nsIAtom* nsHTMLAtoms::bottompadding; nsIAtom* nsHTMLAtoms::br; +nsIAtom* nsHTMLAtoms::bulletPseudo; nsIAtom* nsHTMLAtoms::caption; nsIAtom* nsHTMLAtoms::cellpadding; nsIAtom* nsHTMLAtoms::cellspacing; @@ -251,6 +252,7 @@ void nsHTMLAtoms::AddrefAtoms() bordercolor = NS_NewAtom("BORDERCOLOR"); bottompadding = NS_NewAtom("BOTTOMPADDING"); br = NS_NewAtom("BR"); + bulletPseudo = NS_NewAtom(":BULLET"); caption = NS_NewAtom("CAPTION"); cellpadding = NS_NewAtom("CELLPADDING"); cellspacing = NS_NewAtom("CELLSPACING"); @@ -456,6 +458,7 @@ void nsHTMLAtoms::ReleaseAtoms() NS_RELEASE(bordercolor); NS_RELEASE(bottompadding); NS_RELEASE(br); + NS_RELEASE(bulletPseudo); NS_RELEASE(caption); NS_RELEASE(cellpadding); NS_RELEASE(cellspacing); diff --git a/layout/html/base/src/nsHTMLAtoms.h b/layout/html/base/src/nsHTMLAtoms.h index 46cc95da3236..8b625ac93de9 100644 --- a/layout/html/base/src/nsHTMLAtoms.h +++ b/layout/html/base/src/nsHTMLAtoms.h @@ -63,6 +63,7 @@ public: static nsIAtom* bordercolor; static nsIAtom* bottompadding; static nsIAtom* br; + static nsIAtom* bulletPseudo; static nsIAtom* caption; static nsIAtom* cellpadding;