fixed bug 6950

This commit is contained in:
rickg@netscape.com
1999-05-28 00:21:24 +00:00
parent 10136f1252
commit a0a9ab43bf
4 changed files with 178 additions and 50 deletions
+6
View File
@@ -1624,6 +1624,12 @@ eHTMLTags nsHTMLElement::GetCloseTargetForEndTag(nsEntryStack& aTagStack,PRInt32
}
}
}
else if(IsMemberOf(kFontStyle)){
eHTMLTags theTag=aTagStack.Last();
if(gHTMLElements[theTag].IsMemberOf(kFontStyle)) {
result=theTag;
}
}
return result;
}