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:
parent
4be3a056c9
commit
d77f11eff2
@ -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___ */
|
||||
|
||||
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -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___ */
|
||||
|
||||
@ -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___ */
|
||||
|
||||
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user