Fixed PseudoStyle resolution for primary style context in ReResolveStyleContext: was passing child-content when it should be passing parent-content. r=pierre

git-svn-id: svn://10.0.0.236/trunk@66898 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
attinasi%netscape.com
2000-04-23 03:49:19 +00:00
parent 0d6131fe26
commit f07445d22b
2 changed files with 2 additions and 2 deletions

View File

@@ -1180,7 +1180,7 @@ FrameManager::ReResolveStyleContext(nsIPresContext* aPresContext,
// do primary context
nsIStyleContext* newContext = nsnull;
if (pseudoTag) {
aPresContext->ResolvePseudoStyleContextFor(content, pseudoTag, aParentContext, PR_FALSE,
aPresContext->ResolvePseudoStyleContextFor(aParentContent, pseudoTag, aParentContext, PR_FALSE,
&newContext);
NS_RELEASE(pseudoTag);
}

View File

@@ -1180,7 +1180,7 @@ FrameManager::ReResolveStyleContext(nsIPresContext* aPresContext,
// do primary context
nsIStyleContext* newContext = nsnull;
if (pseudoTag) {
aPresContext->ResolvePseudoStyleContextFor(content, pseudoTag, aParentContext, PR_FALSE,
aPresContext->ResolvePseudoStyleContextFor(aParentContent, pseudoTag, aParentContext, PR_FALSE,
&newContext);
NS_RELEASE(pseudoTag);
}