mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-01 11:27:55 +00:00
commented on sheet/rule ordering
This commit is contained in:
parent
7924ed75b2
commit
0b78c480f4
@ -125,6 +125,7 @@ public:
|
||||
|
||||
/**
|
||||
* Get the style sheets owned by this document.
|
||||
* Style sheets are ordered, most significant first.
|
||||
*/
|
||||
virtual PRInt32 GetNumberOfStyleSheets() = 0;
|
||||
virtual nsIStyleSheet* GetStyleSheetAt(PRInt32 aIndex) = 0;
|
||||
|
@ -36,7 +36,8 @@ class nsIStyleSheet : public nsISupports {
|
||||
public:
|
||||
virtual nsIURL* GetURL(void) = 0;
|
||||
|
||||
// populate void array with nsIStyleRule*
|
||||
// populate supports array with nsIStyleRule*
|
||||
// rules are ordered, those with higher precedence come last
|
||||
virtual PRInt32 RulesMatching(nsIPresContext* aPresContext,
|
||||
nsIContent* aContent,
|
||||
nsIFrame* aParentFrame,
|
||||
|
@ -125,6 +125,7 @@ public:
|
||||
|
||||
/**
|
||||
* Get the style sheets owned by this document.
|
||||
* Style sheets are ordered, most significant first.
|
||||
*/
|
||||
virtual PRInt32 GetNumberOfStyleSheets() = 0;
|
||||
virtual nsIStyleSheet* GetStyleSheetAt(PRInt32 aIndex) = 0;
|
||||
|
@ -36,7 +36,8 @@ class nsIStyleSheet : public nsISupports {
|
||||
public:
|
||||
virtual nsIURL* GetURL(void) = 0;
|
||||
|
||||
// populate void array with nsIStyleRule*
|
||||
// populate supports array with nsIStyleRule*
|
||||
// rules are ordered, those with higher precedence come last
|
||||
virtual PRInt32 RulesMatching(nsIPresContext* aPresContext,
|
||||
nsIContent* aContent,
|
||||
nsIFrame* aParentFrame,
|
||||
|
@ -36,7 +36,8 @@ class nsIStyleSheet : public nsISupports {
|
||||
public:
|
||||
virtual nsIURL* GetURL(void) = 0;
|
||||
|
||||
// populate void array with nsIStyleRule*
|
||||
// populate supports array with nsIStyleRule*
|
||||
// rules are ordered, those with higher precedence come last
|
||||
virtual PRInt32 RulesMatching(nsIPresContext* aPresContext,
|
||||
nsIContent* aContent,
|
||||
nsIFrame* aParentFrame,
|
||||
|
Loading…
x
Reference in New Issue
Block a user