Logo Search packages:      
Sourcecode: xulrunner version File versions  Download package

void nsGenericHTMLElement::MapCommonAttributesInto ( const nsMappedAttributes *  aAttributes,
nsRuleData *  aData 
) [static, inherited]

A style attribute mapping function for the most common attributes, to be called by subclasses' attribute mapping functions. Currently handles dir and lang, could handle others.

aAttributes the list of attributes to map
aData the returned rule data [INOUT]
See also:
Handle attributes common to all html elements

Definition at line 2767 of file nsGenericHTMLElement.cpp.

  if (aData->mSID == eStyleStruct_Visibility) {
    const nsAttrValue* value = aAttributes->GetAttr(nsHTMLAtoms::lang);
    if (value && value->Type() == nsAttrValue::eString) {

Generated by  Doxygen 1.6.0   Back to index