Added a new method, GetStyleHintForAttributeChange() to nsIHTMLContent.

This commit is contained in:
nisheeth%netscape.com 1998-12-11 00:52:55 +00:00
parent fdb13a22ad
commit aa1aa005f0
2 changed files with 20 additions and 0 deletions

View File

@ -91,6 +91,16 @@ public:
NS_IMETHOD ToHTMLString(nsString& aResult) const = 0;
NS_IMETHOD ToHTML(FILE* out) const = 0;
/** NRA ***
* Get a hint that tells the style system what to do when
* an attribute on this node changes.
*/
NS_IMETHOD GetStyleHintForAttributeChange(
const nsIContent * aNode,
const nsIAtom* aAttribute,
PRInt32 *aHint) const = 0;
};
#endif /* nsIHTMLContent_h___ */

View File

@ -91,6 +91,16 @@ public:
NS_IMETHOD ToHTMLString(nsString& aResult) const = 0;
NS_IMETHOD ToHTML(FILE* out) const = 0;
/** NRA ***
* Get a hint that tells the style system what to do when
* an attribute on this node changes.
*/
NS_IMETHOD GetStyleHintForAttributeChange(
const nsIContent * aNode,
const nsIAtom* aAttribute,
PRInt32 *aHint) const = 0;
};
#endif /* nsIHTMLContent_h___ */