tweak to dtd context

This commit is contained in:
rickg@netscape.com
1999-04-24 00:57:42 +00:00
parent d07f0c10c8
commit bb5a290346
8 changed files with 446 additions and 356 deletions
+2 -2
View File
@@ -48,7 +48,7 @@ PRBool CTagList::Contains(eHTMLTags aTag){
* @return
*/
PRInt32 CTagList::GetTopmostIndexOf(nsTagStack& aTagStack){
int max = aTagStack.mTags->GetSize();
int max = aTagStack.GetSize();
int index;
for(index=max-1;index>=0;index--){
if(Contains(aTagStack[index])) {
@@ -65,7 +65,7 @@ PRInt32 CTagList::GetTopmostIndexOf(nsTagStack& aTagStack){
* @return
*/
PRInt32 CTagList::GetBottommostIndexOf(nsTagStack& aTagStack,PRInt32 aStartOffset){
int max = aTagStack.mTags->GetSize();
int max = aTagStack.GetSize();
int index;
for(index=aStartOffset;index<max;index++){
if(Contains(aTagStack[index])) {