Consolidate all CSS pseudos and split them into three atom lists to distinguish between pseudo-classes, pseudo-elements, and fake-pseudo-elements used for anonymous boxes. b=147887 r,sr=roc,bz

git-svn-id: svn://10.0.0.236/trunk@134006 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dbaron%fas.harvard.edu
2002-11-17 15:37:56 +00:00
parent 02ec7d08b8
commit 307f43b5a1
76 changed files with 1678 additions and 613 deletions

View File

@@ -52,6 +52,7 @@
#include "nsCSSRendering.h"
#include "nsISupports.h"
#include "nsHTMLAtoms.h"
#include "nsCSSAnonBoxes.h"
#include "nsIImage.h"
#include "nsStyleConsts.h"
#include "nsIHTMLContent.h"
@@ -146,7 +147,8 @@ nsHTMLButtonControlFrame::Init(nsIPresContext* aPresContext,
// Resolve style and initialize the frame
nsIStyleContext* styleContext;
aPresContext->ResolvePseudoStyleContextFor(mContent, nsHTMLAtoms::buttonContentPseudo,
aPresContext->ResolvePseudoStyleContextFor(mContent,
nsCSSAnonBoxes::buttonContent,
mStyleContext,
&styleContext);
mFrames.FirstChild()->Init(aPresContext, mContent, this, styleContext, nsnull);