Backing out a change to make the regression test happy.
wonder why it is failing in the first place. My guess is that... something wrong with the test itself. git-svn-id: svn://10.0.0.236/trunk@64614 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
4982edfcd1
commit
2ec5e45cca
@ -1339,12 +1339,12 @@ nsresult CNavDTD::HandleStartToken(CToken* aToken) {
|
||||
|
||||
if(nsHTMLElement::IsSectionTag(theChildTag)){
|
||||
switch(theChildTag){
|
||||
case eHTMLTag_html:
|
||||
/*case eHTMLTag_html:
|
||||
if(mBodyContext->GetCount()>0) {
|
||||
result=OpenContainer(theNode,theChildTag,PR_FALSE);
|
||||
isTokenHandled=PR_TRUE;
|
||||
}
|
||||
break;
|
||||
break;*/
|
||||
case eHTMLTag_body:
|
||||
if(mHasOpenBody) {
|
||||
result=OpenContainer(theNode,theChildTag,PR_FALSE);
|
||||
@ -2566,7 +2566,7 @@ nsresult CNavDTD::OpenHTML(const nsIParserNode *aNode){
|
||||
START_TIMER();
|
||||
|
||||
// Don't push more than one HTML tag into the stack...
|
||||
if(mBodyContext->GetCount()==0)
|
||||
//if(mBodyContext->GetCount()==0)
|
||||
mBodyContext->Push(aNode);
|
||||
|
||||
return result;
|
||||
|
||||
@ -1339,12 +1339,12 @@ nsresult CNavDTD::HandleStartToken(CToken* aToken) {
|
||||
|
||||
if(nsHTMLElement::IsSectionTag(theChildTag)){
|
||||
switch(theChildTag){
|
||||
case eHTMLTag_html:
|
||||
/*case eHTMLTag_html:
|
||||
if(mBodyContext->GetCount()>0) {
|
||||
result=OpenContainer(theNode,theChildTag,PR_FALSE);
|
||||
isTokenHandled=PR_TRUE;
|
||||
}
|
||||
break;
|
||||
break;*/
|
||||
case eHTMLTag_body:
|
||||
if(mHasOpenBody) {
|
||||
result=OpenContainer(theNode,theChildTag,PR_FALSE);
|
||||
@ -2566,7 +2566,7 @@ nsresult CNavDTD::OpenHTML(const nsIParserNode *aNode){
|
||||
START_TIMER();
|
||||
|
||||
// Don't push more than one HTML tag into the stack...
|
||||
if(mBodyContext->GetCount()==0)
|
||||
//if(mBodyContext->GetCount()==0)
|
||||
mBodyContext->Push(aNode);
|
||||
|
||||
return result;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user