}
DirectoryMenuMapAttributesIntoRule(const nsMappedAttributes* aAttributes,                               nsRuleData* aData){  if (aData->mSID == eStyleStruct_List) {    if (aData->mListData->mType.GetUnit() == eCSSUnit_Null) {      // type: enum      const nsAttrValue* value = aAttributes->GetAttr(nsHTMLAtoms::type);      if (value) {        if (value->Type() == nsAttrValue::eEnum)          aData->mListData->mType.SetIntValue(value->GetEnumValue(), eCSSUnit_Enumerated);        else          aData->mListData->mType.SetIntValue(NS_STYLE_LIST_STYLE_DISC, eCSSUnit_Enumerated);      }    }  }  nsGenericHTMLElement::MapCommonAttributesInto(aAttributes, aData);}