зеркало из https://github.com/mozilla/pjs.git
Enabling SIZE attribute change for selects.
This commit is contained in:
Родитель
e720a8638b
Коммит
6fbc2ada16
|
@ -971,6 +971,8 @@ nsHTMLSelectElement::GetStyleHintForAttributeChange(
|
|||
{
|
||||
if (nsHTMLAtoms::multiple == aAttribute) {
|
||||
*aHint = NS_STYLE_HINT_FRAMECHANGE;
|
||||
} else if (nsHTMLAtoms::size == aAttribute) {
|
||||
*aHint = NS_STYLE_HINT_REFLOW;
|
||||
} else {
|
||||
nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
|
||||
}
|
||||
|
|
|
@ -971,6 +971,8 @@ nsHTMLSelectElement::GetStyleHintForAttributeChange(
|
|||
{
|
||||
if (nsHTMLAtoms::multiple == aAttribute) {
|
||||
*aHint = NS_STYLE_HINT_FRAMECHANGE;
|
||||
} else if (nsHTMLAtoms::size == aAttribute) {
|
||||
*aHint = NS_STYLE_HINT_REFLOW;
|
||||
} else {
|
||||
nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче