Back to index

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

List of all members.

Public Member Functions

 TableUngroupedColRule ()
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 194 of file nsHTMLStyleSheet.h.

Constructor & Destructor Documentation

Definition at line 196 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 286 of file nsHTMLStyleSheet.cpp.

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

Here is the call graph for this function:

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