Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsHTMLStyleSheet::TableColgroupRule Class Reference
Inheritance diagram for nsHTMLStyleSheet::TableColgroupRule:
Inheritance graph
Collaboration diagram for nsHTMLStyleSheet::TableColgroupRule:
Collaboration graph

List of all members.

Public Member Functions

 TableColgroupRule ()
NS_IMETHOD MapRuleInfoInto (nsRuleData *aRuleData)
 |nsIStyleRule::MapRuleInfoInto| is a request to copy all stylistic data represented by the rule that:

Detailed Description

Definition at line 171 of file nsHTMLStyleSheet.h.

Constructor & Destructor Documentation

Definition at line 173 of file nsHTMLStyleSheet.h.


Member Function Documentation

|nsIStyleRule::MapRuleInfoInto| is a request to copy all stylistic data represented by the rule that:

  • are relevant for |aRuleData->mSID| (the style struct ID)
  • are not already filled into the data struct into the appropriate data struct in |aRuleData|. It is important that only empty data are filled in, since the rule tree is walked from highest priority rule to least, so that the walk can stop if all needed data are found. Thus overwriting non-empty data will break CSS cascading rules.

Reimplemented from nsHTMLStyleSheet::GenericTableRule.

Definition at line 247 of file nsHTMLStyleSheet.cpp.

  if (aRuleData && aRuleData->mSID == eStyleStruct_Border) {
    aRuleData->mCanStoreInRuleTree = PR_FALSE;
    aRuleData->mPostResolveCallback = &ColgroupPostResolveCallback;
  return NS_OK;

Here is the call graph for this function:

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