Bug 1112243 - add sizetopref to menulist-popuponly binding content. r=dao.

The rest of the menulist bindings have this, and is used to properly size
the menupopup when the menulist is opened. Without it, for long menulists
with a scrollbar, and short labels, the labels will get squeezed out during
layout and not be visible.

--HG--
extra : rebase_source : dea73f0b955cc72a0eb3f3e9e4df01187579ec83
extra : histedit_source : 5bb432c6afa96cfb73ca1535724a1d630ea1d5ca
This commit is contained in:
Mike Conley 2015-01-29 12:58:24 -05:00
parent 5889460ce5
commit 30103711fd

View File

@ -608,7 +608,7 @@
<binding id="menulist-popuponly" display="xul:menu"
extends="chrome://global/content/bindings/menulist.xml#menulist">
<content>
<content sizetopopup="pref">
<children includes="menupopup"/>
</content>
</binding>