Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
RuleCascadeData Struct Reference
Collaboration diagram for RuleCascadeData:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 RuleCascadeData (nsIAtom *aMedium, PRBool aQuirksMode)
 ~RuleCascadeData ()
nsVoidArrayAttributeListFor (nsIAtom *aAttribute)

Public Attributes

RuleHash mRuleHash
nsVoidArray mStateSelectors
nsVoidArray mClassSelectors
nsVoidArray mIDSelectors
PLDHashTable mAttributeSelectors
nsCOMPtr< nsIAtommMedium
RuleCascadeDatamNext

Detailed Description

Definition at line 678 of file nsCSSStyleSheet.cpp.


Constructor & Destructor Documentation

RuleCascadeData::RuleCascadeData ( nsIAtom aMedium,
PRBool  aQuirksMode 
) [inline]

Definition at line 679 of file nsCSSStyleSheet.cpp.

Here is the call graph for this function:

Definition at line 689 of file nsCSSStyleSheet.cpp.

Here is the call graph for this function:


Member Function Documentation

Definition at line 708 of file nsCSSStyleSheet.cpp.

{
  AttributeSelectorEntry *entry = NS_STATIC_CAST(AttributeSelectorEntry*,
      PL_DHashTableOperate(&mAttributeSelectors, aAttribute, PL_DHASH_ADD));
  if (!entry)
    return nsnull;
  if (!entry->mSelectors) {
    if (!(entry->mSelectors = new nsVoidArray)) {
      PL_DHashTableRawRemove(&mAttributeSelectors, entry);
      return nsnull;
    }
    entry->mAttribute = aAttribute;
  }
  return entry->mSelectors;
}

Here is the call graph for this function:


Member Data Documentation

Definition at line 697 of file nsCSSStyleSheet.cpp.

Definition at line 695 of file nsCSSStyleSheet.cpp.

Definition at line 696 of file nsCSSStyleSheet.cpp.

Definition at line 703 of file nsCSSStyleSheet.cpp.

Definition at line 704 of file nsCSSStyleSheet.cpp.

Definition at line 693 of file nsCSSStyleSheet.cpp.

Definition at line 694 of file nsCSSStyleSheet.cpp.


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