Bug 298875 align=right should not be applied to input elements with a type other than image

patch by martijn.martijn@gmail.com r=bz sr=bz a=asa
This commit is contained in:
timeless%mozdev.org 2005-07-20 23:24:28 +00:00
Родитель 5ca2ae2c12
Коммит b68005a043
1 изменённых файлов: 1 добавлений и 4 удалений

Просмотреть файл

@ -1842,10 +1842,7 @@ MapAttributesIntoRule(const nsMappedAttributes* aAttributes,
nsGenericHTMLFormElement::MapImageSizeAttributesInto(aAttributes, aData);
// Images treat align as "float"
nsGenericHTMLFormElement::MapImageAlignAttributeInto(aAttributes, aData);
} else {
// Everything else treats align as "text-align"
nsGenericHTMLFormElement::MapDivAlignAttributeInto(aAttributes, aData);
}
}
nsGenericHTMLFormElement::MapCommonAttributesInto(aAttributes, aData);
}