Bug 301675 : default value of size DOM attribute of HTMLSelectElement should be 0 when the attribute is missing,

patch by Anne van Kesteren <bug@annevankesteren.nl>
r+sr=bzbarsky, a=bsmedberg

fixing this correctly instead of incurring build bustage by removing the previous definition
This commit is contained in:
timeless%mozdev.org 2005-07-26 08:11:42 +00:00
parent b21c71adbf
commit d954808c1c

View File

@ -1539,7 +1539,7 @@ nsHTMLSelectElement::SetValue(const nsAString& aValue)
NS_IMPL_BOOL_ATTR(nsHTMLSelectElement, Disabled, disabled)
NS_IMPL_BOOL_ATTR(nsHTMLSelectElement, Multiple, multiple)
NS_IMPL_STRING_ATTR(nsHTMLSelectElement, Name, name)
NS_IMPL_INT_ATTR(nsHTMLSelectElement, Size, size)
NS_IMPL_INT_ATTR_DEFAULT_VALUE(nsHTMLSelectElement, Size, size, 0)
NS_IMPL_INT_ATTR_DEFAULT_VALUE(nsHTMLSelectElement, TabIndex, tabindex, 0)
NS_IMETHODIMP