mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-01 05:43:46 +00:00
reversed style sheet ordering in the set
This commit is contained in:
parent
1460522396
commit
cba10565bc
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user