]> source.dussan.org Git - jquery-ui.git/commit
Selectmenu: Support `width: false` and default to 14em
authorScott González <scott.gonzalez@gmail.com>
Wed, 4 Mar 2015 19:27:10 +0000 (14:27 -0500)
committerScott González <scott.gonzalez@gmail.com>
Thu, 5 Mar 2015 16:42:49 +0000 (11:42 -0500)
commitaf4c35df9d1cf4c15d57b3789711026360785831
tree150083ab0fedf1494c5cbc409995d3513eb01578
parent47a32fb5b3c190123937e0178900ef754c3e220d
Selectmenu: Support `width: false` and default to 14em

`width: null` still matches the width of the original element.
`width: false` prevents an inline style from being set for the width. This
makes it easy to set the width via a stylesheet and allows the use of any
unit for setting the width, such as the new default of `14em`.

Fixes #11198
Closes gh-1467
demos/selectmenu/custom_render.html
demos/selectmenu/default.html
demos/selectmenu/product-selection.html
tests/unit/selectmenu/selectmenu_common.js
tests/unit/selectmenu/selectmenu_options.js
themes/base/selectmenu.css
ui/selectmenu.js