зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
5ca2ae2c12
Коммит
b68005a043
|
@ -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);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче