Ignoring unwanted tags in <head>
git-svn-id: svn://10.0.0.236/trunk@24672 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1693,10 +1693,13 @@ PRBool CNavDTD::CanOmit(eHTMLTags aParent,eHTMLTags aChild) const {
|
||||
CTagList* theParents=gHTMLElements[aChild].GetSpecialParents();
|
||||
if(theParents) {
|
||||
PRInt32 theParentIndex=theParents->GetTopmostIndexOf(mBodyContext->mTags);
|
||||
result=PRBool(kNotFound==theParentIndex);
|
||||
return PRBool(kNotFound==theParentIndex);
|
||||
// result=!theParents->Contains(aParent); THE OLD WAY
|
||||
}
|
||||
}
|
||||
if(!gHTMLElements[aParent].CanContain(aChild)){
|
||||
return PR_TRUE;
|
||||
}
|
||||
break;
|
||||
} //switch
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user