mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 04:15:43 +00:00
Enabling MULTIPLE attribute change for selects.
This commit is contained in:
parent
11155af018
commit
d5254251fc
@ -969,6 +969,10 @@ nsHTMLSelectElement::GetStyleHintForAttributeChange(
|
||||
const nsIAtom* aAttribute,
|
||||
PRInt32 *aHint) const
|
||||
{
|
||||
nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
|
||||
if (nsHTMLAtoms::multiple == aAttribute) {
|
||||
*aHint = NS_STYLE_HINT_FRAMECHANGE;
|
||||
} else {
|
||||
nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
|
||||
}
|
||||
return NS_OK;
|
||||
}
|
||||
|
@ -969,6 +969,10 @@ nsHTMLSelectElement::GetStyleHintForAttributeChange(
|
||||
const nsIAtom* aAttribute,
|
||||
PRInt32 *aHint) const
|
||||
{
|
||||
nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
|
||||
if (nsHTMLAtoms::multiple == aAttribute) {
|
||||
*aHint = NS_STYLE_HINT_FRAMECHANGE;
|
||||
} else {
|
||||
nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
|
||||
}
|
||||
return NS_OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user