Back to index

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

List of all members.

Public Member Functions

 GenericTableRule ()
NS_DECL_ISUPPORTS 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 124 of file nsHTMLStyleSheet.h.

Constructor & Destructor Documentation

Definition at line 126 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.

Implements nsIStyleRule.

Reimplemented in nsHTMLStyleSheet::TableUngroupedColRule, nsHTMLStyleSheet::TableColRule, nsHTMLStyleSheet::TableColgroupRule, nsHTMLStyleSheet::TableRowRule, nsHTMLStyleSheet::TableTbodyRule, and nsHTMLStyleSheet::TableTHRule.

Definition at line 92 of file nsHTMLStyleSheet.cpp.

  // Nothing to do.
  return NS_OK;

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