reversed style sheet ordering in the set

This commit is contained in:
peterl%netscape.com 1998-09-02 02:02:14 +00:00
parent 1460522396
commit cba10565bc
2 changed files with 2 additions and 2 deletions

View File

@ -404,7 +404,7 @@ nsIStyleSheet* nsDocument::GetStyleSheetAt(PRInt32 aIndex)
void nsDocument::AddStyleSheetToSet(nsIStyleSheet* aSheet, nsIStyleSet* aSet)
{
aSet->AppendDocStyleSheet(aSheet);
aSet->InsertDocStyleSheetBefore(aSheet, nsnull); // put it first
}
void nsDocument::AddStyleSheet(nsIStyleSheet* aSheet)

View File

@ -404,7 +404,7 @@ nsIStyleSheet* nsDocument::GetStyleSheetAt(PRInt32 aIndex)
void nsDocument::AddStyleSheetToSet(nsIStyleSheet* aSheet, nsIStyleSet* aSet)
{
aSet->AppendDocStyleSheet(aSheet);
aSet->InsertDocStyleSheetBefore(aSheet, nsnull); // put it first
}
void nsDocument::AddStyleSheet(nsIStyleSheet* aSheet)