Back to index
|RuleValue (nsICSSStyleRule *aRule, nsCSSSelector *aSelector)|
||RuleValue|s are constructed before they become part of the |RuleHash|, to act as rule/selector pairs. |
|RuleValue *||Add (PRInt32 aBackwardIndex, RuleValue *aNext)|
|void *||operator new (size_t aSize, PLArenaPool &aArena) CPP_THROW_NEW|
|RuleValue|s are constructed before they become part of the |RuleHash|, to act as rule/selector pairs.
|Add| is called when they are added to the |RuleHash|, and can be considered the second half of the constructor.
|RuleValue|s are added to the rule hash from highest weight/order to lowest (since this is the fast way to build a singly linked list), so the index used to remember the order is backwards.