sync to style resolution api changes

This commit is contained in:
peterl@netscape.com
1998-11-03 20:33:43 +00:00
parent 79a44f390d
commit e74acd9aca
53 changed files with 568 additions and 528 deletions

View File

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