mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 04:15:43 +00:00
Enabling SIZE attribute change for selects.
This commit is contained in:
parent
d5254251fc
commit
649f177e75
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user