Moved ContentReplaced() handler code to style system

This commit is contained in:
troy@netscape.com
1998-09-25 22:47:00 +00:00
parent 3d72bd1d04
commit b85a51e775
18 changed files with 64 additions and 155 deletions

View File

@@ -252,6 +252,13 @@ public:
nsIContent* aChild,
PRInt32 aIndexInContainer);
NS_IMETHOD ContentReplaced(nsIPresContext* aPresContext,
nsIDocument* aDocument,
nsIContent* aContainer,
nsIContent* aOldChild,
nsIContent* aNewChild,
PRInt32 aIndexInContainer);
NS_IMETHOD ContentRemoved(nsIPresContext* aPresContext,
nsIDocument* aDocument,
nsIContent* aContainer,
@@ -1571,6 +1578,18 @@ HTMLStyleSheetImpl::ContentInserted(nsIPresContext* aPresContext,
return rv;
}
NS_IMETHODIMP
HTMLStyleSheetImpl::ContentReplaced(nsIPresContext* aPresContext,
nsIDocument* aDocument,
nsIContent* aContainer,
nsIContent* aOldChild,
nsIContent* aNewChild,
PRInt32 aIndexInContainer)
{
NS_NOTYETIMPLEMENTED("content replaced");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
HTMLStyleSheetImpl::ContentRemoved(nsIPresContext* aPresContext,
nsIDocument* aDocument,