Added blockFrame and inlineFrame

git-svn-id: svn://10.0.0.236/trunk@28264 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
troy%netscape.com
1999-04-20 18:20:52 +00:00
parent 794d62c4df
commit 80017eabc9
6 changed files with 24 additions and 0 deletions

View File

@@ -52,6 +52,8 @@ nsIAtom* nsLayoutAtoms::pagePseudo;
// frame types
nsIAtom* nsLayoutAtoms::areaFrame;
nsIAtom* nsLayoutAtoms::blockFrame;
nsIAtom* nsLayoutAtoms::inlineFrame;
nsIAtom* nsLayoutAtoms::pageFrame;
nsIAtom* nsLayoutAtoms::rootFrame;
nsIAtom* nsLayoutAtoms::scrollFrame;
@@ -96,6 +98,8 @@ void nsLayoutAtoms::AddrefAtoms()
pagePseudo = NS_NewAtom(":-moz-page");
areaFrame = NS_NewAtom("AreaFrame");
blockFrame = NS_NewAtom("BlockFrame");
inlineFrame = NS_NewAtom("InlineFrame");
pageFrame = NS_NewAtom("PageFrame");
rootFrame = NS_NewAtom("RootFrame");
scrollFrame = NS_NewAtom("ScrollFrame");
@@ -142,6 +146,8 @@ void nsLayoutAtoms::ReleaseAtoms()
NS_RELEASE(pagePseudo);
NS_RELEASE(areaFrame);
NS_RELEASE(blockFrame);
NS_RELEASE(inlineFrame);
NS_RELEASE(pageFrame);
NS_RELEASE(rootFrame);
NS_RELEASE(scrollFrame);