comments on sheet/rule ordering

git-svn-id: svn://10.0.0.236/trunk@9084 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
peterl%netscape.com 1998-09-02 02:00:24 +00:00
parent cdc1c65a3d
commit 6a5da9f5b6
3 changed files with 4 additions and 2 deletions

View File

@ -125,7 +125,7 @@ public:
/**
* Get the style sheets owned by this document.
* Style sheets are ordered, most significant first.
* Style sheets are ordered, most significant last.
*/
virtual PRInt32 GetNumberOfStyleSheets() = 0;
virtual nsIStyleSheet* GetStyleSheetAt(PRInt32 aIndex) = 0;

View File

@ -125,7 +125,7 @@ public:
/**
* Get the style sheets owned by this document.
* Style sheets are ordered, most significant first.
* Style sheets are ordered, most significant last.
*/
virtual PRInt32 GetNumberOfStyleSheets() = 0;
virtual nsIStyleSheet* GetStyleSheetAt(PRInt32 aIndex) = 0;

View File

@ -38,6 +38,8 @@ class nsIFrame;
class nsIStyleSet : public nsISupports {
public:
// Style sheets are ordered, most significant first
// NOTE: this is the reverse of the way documents store the sheets
virtual void AppendOverrideStyleSheet(nsIStyleSheet* aSheet) = 0;
virtual void InsertOverrideStyleSheetAfter(nsIStyleSheet* aSheet,
nsIStyleSheet* aAfterSheet) = 0;