use proper pseudo tag for text style contexts

git-svn-id: svn://10.0.0.236/trunk@14844 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
peterl%netscape.com
1998-11-18 02:11:27 +00:00
parent 95f66c00f4
commit 8f073ecf34
3 changed files with 3 additions and 3 deletions

View File

@@ -1658,7 +1658,7 @@ HTMLStyleSheetImpl::ConstructFrame(nsIPresContext* aPresContext,
aParentFrame->GetContent(parentContent);
}
styleContext = aPresContext->ResolvePseudoStyleContextFor(parentContent,
nsHTMLAtoms::text,
nsHTMLAtoms::textPseudo,
parentStyleContext);
NS_IF_RELEASE(parentContent);
} else {