nsHTMLValue value;
DirectoryMenuMapAttributesIntoRule(const nsMappedAttributes* aAttributes,                               nsRuleData* aData){  if (aData->mSID == eStyleStruct_List) {    if (aData->mListData->mType.GetUnit() == eCSSUnit_Null) {      nsHTMLValue value;      // type: enum      if (aAttributes->GetAttribute(nsHTMLAtoms::type, value) !=          NS_CONTENT_ATTR_NOT_THERE) {        if (value.GetUnit() == eHTMLUnit_Enumerated)          aData->mListData->mType.SetIntValue(value.GetIntValue(), eCSSUnit_Enumerated);        else          aData->mListData->mType.SetIntValue(NS_STYLE_LIST_STYLE_DISC, eCSSUnit_Enumerated);      }    }  }  nsGenericHTMLElement::MapCommonAttributesInto(aAttributes, aData);}