added viewport pseudo element tag

git-svn-id: svn://10.0.0.236/trunk@20380 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
peterl%netscape.com 1999-02-11 06:39:07 +00:00
parent 4be3a056c9
commit d77f11eff2
6 changed files with 24 additions and 12 deletions

View File

@ -58,8 +58,9 @@ public:
static nsIAtom* floaterList;
// Alphabetical list of pseudo tag names for non-element content
static nsIAtom* textTagName;
static nsIAtom* commentTagName;
static nsIAtom* textTagName;
static nsIAtom* viewportPseudo;
};
#endif /* nsLayoutAtoms_h___ */

View File

@ -43,8 +43,9 @@ nsIAtom* nsLayoutAtoms::colGroupList;
nsIAtom* nsLayoutAtoms::fixedList;
nsIAtom* nsLayoutAtoms::floaterList;
nsIAtom* nsLayoutAtoms::textTagName;
nsIAtom* nsLayoutAtoms::commentTagName;
nsIAtom* nsLayoutAtoms::textTagName;
nsIAtom* nsLayoutAtoms::viewportPseudo;
static nsrefcnt gRefCnt;
@ -72,8 +73,9 @@ void nsLayoutAtoms::AddrefAtoms()
fixedList = NS_NewAtom("Fixed-list");
floaterList = NS_NewAtom("Floater-list");
textTagName = NS_NewAtom("__moz_text");
commentTagName = NS_NewAtom("__moz_comment");
textTagName = NS_NewAtom("__moz_text");
viewportPseudo = NS_NewAtom(":-MOZ-VIEWPORT"); // XXX lower case
}
++gRefCnt;
}
@ -103,8 +105,9 @@ void nsLayoutAtoms::ReleaseAtoms()
NS_RELEASE(fixedList);
NS_RELEASE(floaterList);
NS_RELEASE(textTagName);
NS_RELEASE(commentTagName);
NS_RELEASE(textTagName);
NS_RELEASE(viewportPseudo);
}
}

View File

@ -43,8 +43,9 @@ nsIAtom* nsLayoutAtoms::colGroupList;
nsIAtom* nsLayoutAtoms::fixedList;
nsIAtom* nsLayoutAtoms::floaterList;
nsIAtom* nsLayoutAtoms::textTagName;
nsIAtom* nsLayoutAtoms::commentTagName;
nsIAtom* nsLayoutAtoms::textTagName;
nsIAtom* nsLayoutAtoms::viewportPseudo;
static nsrefcnt gRefCnt;
@ -72,8 +73,9 @@ void nsLayoutAtoms::AddrefAtoms()
fixedList = NS_NewAtom("Fixed-list");
floaterList = NS_NewAtom("Floater-list");
textTagName = NS_NewAtom("__moz_text");
commentTagName = NS_NewAtom("__moz_comment");
textTagName = NS_NewAtom("__moz_text");
viewportPseudo = NS_NewAtom(":-MOZ-VIEWPORT"); // XXX lower case
}
++gRefCnt;
}
@ -103,8 +105,9 @@ void nsLayoutAtoms::ReleaseAtoms()
NS_RELEASE(fixedList);
NS_RELEASE(floaterList);
NS_RELEASE(textTagName);
NS_RELEASE(commentTagName);
NS_RELEASE(textTagName);
NS_RELEASE(viewportPseudo);
}
}

View File

@ -58,8 +58,9 @@ public:
static nsIAtom* floaterList;
// Alphabetical list of pseudo tag names for non-element content
static nsIAtom* textTagName;
static nsIAtom* commentTagName;
static nsIAtom* textTagName;
static nsIAtom* viewportPseudo;
};
#endif /* nsLayoutAtoms_h___ */

View File

@ -58,8 +58,9 @@ public:
static nsIAtom* floaterList;
// Alphabetical list of pseudo tag names for non-element content
static nsIAtom* textTagName;
static nsIAtom* commentTagName;
static nsIAtom* textTagName;
static nsIAtom* viewportPseudo;
};
#endif /* nsLayoutAtoms_h___ */

View File

@ -43,8 +43,9 @@ nsIAtom* nsLayoutAtoms::colGroupList;
nsIAtom* nsLayoutAtoms::fixedList;
nsIAtom* nsLayoutAtoms::floaterList;
nsIAtom* nsLayoutAtoms::textTagName;
nsIAtom* nsLayoutAtoms::commentTagName;
nsIAtom* nsLayoutAtoms::textTagName;
nsIAtom* nsLayoutAtoms::viewportPseudo;
static nsrefcnt gRefCnt;
@ -72,8 +73,9 @@ void nsLayoutAtoms::AddrefAtoms()
fixedList = NS_NewAtom("Fixed-list");
floaterList = NS_NewAtom("Floater-list");
textTagName = NS_NewAtom("__moz_text");
commentTagName = NS_NewAtom("__moz_comment");
textTagName = NS_NewAtom("__moz_text");
viewportPseudo = NS_NewAtom(":-MOZ-VIEWPORT"); // XXX lower case
}
++gRefCnt;
}
@ -103,8 +105,9 @@ void nsLayoutAtoms::ReleaseAtoms()
NS_RELEASE(fixedList);
NS_RELEASE(floaterList);
NS_RELEASE(textTagName);
NS_RELEASE(commentTagName);
NS_RELEASE(textTagName);
NS_RELEASE(viewportPseudo);
}
}