added content state changed

removed ua sheet from dump style
This commit is contained in:
peterl%netscape.com 1999-02-27 07:11:04 +00:00
parent 46c784a7db
commit ba5f08e24c
3 changed files with 36 additions and 6 deletions

View File

@ -113,6 +113,8 @@ public:
NS_IMETHOD ContentChanged(nsIPresContext* aPresContext,
nsIContent* aContent,
nsISupports* aSubContent);
NS_IMETHOD ContentStateChanged(nsIPresContext* aPresContext,
nsIContent* aContent);
NS_IMETHOD AttributeChanged(nsIPresContext* aPresContext,
nsIContent* aChild,
nsIAtom* aAttribute,
@ -780,6 +782,14 @@ StyleSetImpl::ContentChanged(nsIPresContext* aPresContext,
aContent, aSubContent);
}
NS_IMETHODIMP
StyleSetImpl::ContentStateChanged(nsIPresContext* aPresContext,
nsIContent* aContent)
{
return mFrameConstructor->ContentStateChanged(aPresContext, aContent);
}
NS_IMETHODIMP
StyleSetImpl::AttributeChanged(nsIPresContext* aPresContext,
nsIContent* aContent,
@ -848,9 +858,9 @@ void StyleSetImpl::List(FILE* out, PRInt32 aIndent, nsISupportsArray* aSheets)
void StyleSetImpl::List(FILE* out, PRInt32 aIndent)
{
List(out, aIndent, mOverrideSheets);
// List(out, aIndent, mOverrideSheets);
List(out, aIndent, mDocSheets);
List(out, aIndent, mBackstopSheets);
// List(out, aIndent, mBackstopSheets);
}
void StyleSetImpl::ListContexts(nsIStyleContext* aRootContext, FILE* out, PRInt32 aIndent)

View File

@ -113,6 +113,8 @@ public:
NS_IMETHOD ContentChanged(nsIPresContext* aPresContext,
nsIContent* aContent,
nsISupports* aSubContent);
NS_IMETHOD ContentStateChanged(nsIPresContext* aPresContext,
nsIContent* aContent);
NS_IMETHOD AttributeChanged(nsIPresContext* aPresContext,
nsIContent* aChild,
nsIAtom* aAttribute,
@ -780,6 +782,14 @@ StyleSetImpl::ContentChanged(nsIPresContext* aPresContext,
aContent, aSubContent);
}
NS_IMETHODIMP
StyleSetImpl::ContentStateChanged(nsIPresContext* aPresContext,
nsIContent* aContent)
{
return mFrameConstructor->ContentStateChanged(aPresContext, aContent);
}
NS_IMETHODIMP
StyleSetImpl::AttributeChanged(nsIPresContext* aPresContext,
nsIContent* aContent,
@ -848,9 +858,9 @@ void StyleSetImpl::List(FILE* out, PRInt32 aIndent, nsISupportsArray* aSheets)
void StyleSetImpl::List(FILE* out, PRInt32 aIndent)
{
List(out, aIndent, mOverrideSheets);
// List(out, aIndent, mOverrideSheets);
List(out, aIndent, mDocSheets);
List(out, aIndent, mBackstopSheets);
// List(out, aIndent, mBackstopSheets);
}
void StyleSetImpl::ListContexts(nsIStyleContext* aRootContext, FILE* out, PRInt32 aIndent)

View File

@ -113,6 +113,8 @@ public:
NS_IMETHOD ContentChanged(nsIPresContext* aPresContext,
nsIContent* aContent,
nsISupports* aSubContent);
NS_IMETHOD ContentStateChanged(nsIPresContext* aPresContext,
nsIContent* aContent);
NS_IMETHOD AttributeChanged(nsIPresContext* aPresContext,
nsIContent* aChild,
nsIAtom* aAttribute,
@ -780,6 +782,14 @@ StyleSetImpl::ContentChanged(nsIPresContext* aPresContext,
aContent, aSubContent);
}
NS_IMETHODIMP
StyleSetImpl::ContentStateChanged(nsIPresContext* aPresContext,
nsIContent* aContent)
{
return mFrameConstructor->ContentStateChanged(aPresContext, aContent);
}
NS_IMETHODIMP
StyleSetImpl::AttributeChanged(nsIPresContext* aPresContext,
nsIContent* aContent,
@ -848,9 +858,9 @@ void StyleSetImpl::List(FILE* out, PRInt32 aIndent, nsISupportsArray* aSheets)
void StyleSetImpl::List(FILE* out, PRInt32 aIndent)
{
List(out, aIndent, mOverrideSheets);
// List(out, aIndent, mOverrideSheets);
List(out, aIndent, mDocSheets);
List(out, aIndent, mBackstopSheets);
// List(out, aIndent, mBackstopSheets);
}
void StyleSetImpl::ListContexts(nsIStyleContext* aRootContext, FILE* out, PRInt32 aIndent)