sync to style resolution api changes

git-svn-id: svn://10.0.0.236/trunk@14009 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
peterl%netscape.com
1998-11-03 20:33:43 +00:00
parent b574a339c4
commit 93d3fcc553
53 changed files with 568 additions and 528 deletions

View File

@@ -99,7 +99,7 @@ nsLegendFrame::Init(nsIPresContext& aPresContext, nsIFrame* aChildList)
// Resolve style and set the style context
nsIStyleContext* styleContext =
aPresContext.ResolveStyleContextFor(mContent, this);
aPresContext.ResolvePseudoStyleContextFor(mContent, nsHTMLAtoms::legendContentPseudo, mStyleContext);
mFirstChild->SetStyleContext(&aPresContext, styleContext);
NS_RELEASE(styleContext);