Back to index

lightning-sunbird  0.9+nobinonly
Public Types | Public Member Functions
nsIStyleRuleProcessor Class Reference

#include <nsIStyleRuleProcessor.h>

Inheritance diagram for nsIStyleRuleProcessor:
Inheritance graph
[legend]
Collaboration diagram for nsIStyleRuleProcessor:
Collaboration graph
[legend]

List of all members.

Public Types

typedef PRBool(* PR_CALLBACK )(nsIStyleRuleProcessor *, void *)

Public Member Functions

NS_IMETHOD RulesMatching (ElementRuleProcessorData *aData)=0
 Find the |nsIStyleRule|s matching the given content node and position the given |nsRuleWalker| at the |nsRuleNode| in the rule tree representing that ordered list of rules (with higher precedence being farther from the root of the lexicographic tree).
NS_IMETHOD RulesMatching (PseudoRuleProcessorData *aData)=0
 Just like the previous |RulesMatching|, except for a given content node and pseudo-element.
NS_IMETHOD HasStateDependentStyle (StateRuleProcessorData *aData, nsReStyleHint *aResult)=0
 Return how (as described by nsReStyleHint) style can depend on a change of the given content state on the given content node.
NS_IMETHOD HasAttributeDependentStyle (AttributeRuleProcessorData *aData, nsReStyleHint *aResult)=0
 Return how (as described by nsReStyleHint) style can depend on the presence or value of the given attribute for the given content node.

Detailed Description

Definition at line 176 of file nsIStyleRuleProcessor.h.


Member Typedef Documentation

Definition at line 182 of file nsIStyleRuleProcessor.h.


Member Function Documentation

Return how (as described by nsReStyleHint) style can depend on the presence or value of the given attribute for the given content node.

This test is used for optimization only, and may err on the side of reporting more dependencies than really exist.

Implemented in HTMLCSSStyleSheetImpl, nsHTMLStyleSheet, and nsCSSRuleProcessor.

Here is the caller graph for this function:

Return how (as described by nsReStyleHint) style can depend on a change of the given content state on the given content node.

This test is used for optimization only, and may err on the side of reporting more dependencies than really exist.

Event states are defined in nsIEventStateManager.h.

Implemented in HTMLCSSStyleSheetImpl, nsHTMLStyleSheet, and nsCSSRuleProcessor.

Here is the caller graph for this function:

Find the |nsIStyleRule|s matching the given content node and position the given |nsRuleWalker| at the |nsRuleNode| in the rule tree representing that ordered list of rules (with higher precedence being farther from the root of the lexicographic tree).

Implemented in HTMLCSSStyleSheetImpl, nsHTMLStyleSheet, and nsCSSRuleProcessor.

Here is the caller graph for this function:

Just like the previous |RulesMatching|, except for a given content node and pseudo-element.

Implemented in HTMLCSSStyleSheetImpl, nsHTMLStyleSheet, and nsCSSRuleProcessor.


The documentation for this class was generated from the following file: