put a comment in the stylecontext header.

This commit is contained in:
hyatt%netscape.com 2001-11-14 08:37:58 +00:00
parent 257658ac62
commit 6dc71e4cbf

View File

@ -85,7 +85,12 @@ public:
NS_IMETHOD GetBorderPaddingFor(nsStyleBorderPadding& aBorderPadding)=0;
// compute the effective difference between two contexts
// This method computes the effective difference between two contexts that are both at the
// same position in the style context tree. The |this| parameter must always
// be the old context. This method will only peek at style data on the old
// context, and will not instantiate new data in order to compute a difference.
// That is why the old context must always be used (since the new context will
// have no data on it yet) for determining the actual difference.
NS_IMETHOD CalcStyleDifference(nsIStyleContext* aOther, PRInt32& aHint) = 0;
NS_IMETHOD GetRuleNode(nsRuleNode** aResult)=0;