Scott González
af4c35df9d
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
2015-03-05 11:42:49 -05:00
Jörn Zaefferer
2aabd427eb
Tests: Fix style issues with missing or multiple line breaks
...
As pointed out by jscs, after a esformatter run. The latter doesn't
address these, so fixing them manually.
2015-01-24 17:10:20 +01:00
Scott González
4ad45991e6
Selectmenu: Remove unused var in test
2014-07-29 15:18:46 -04:00
Scott González
64faf2da0a
Selectmenu: Don't check menu width in width option tests
2014-07-29 15:02:36 -04:00
Scott González
45e13ed208
Selectmenu: Properly set width for button
...
Fixes #10145
Closes gh-1296
2014-07-29 13:17:30 -04:00
TJ VanToll
c29b4434b6
Tests: Use closeEnough() to account for rounding differences
...
Selectmenu's test suite broke with b0e8380
, which changed the padding
used by the menu widget. Selectmenu conditionally adds pixels to the
menu's width, and using closeEnough() accounts for that and the
rounding differences across browsers.
Closes gh-1275
2014-06-25 12:16:29 -04:00
Scott González
69a3d94a06
Selectmenu: Test cleanup
2014-04-22 18:24:04 -04:00
Jörn Zaefferer
0c754f9d9e
Selectmenu: Refactor appendTo option tests
2014-02-21 13:40:32 +01:00
Jörn Zaefferer
fa99e23d18
Selectmenu: Fall back to .ui-front searching for empty jQuery objects
...
Fixes #9757
2014-02-21 13:35:34 +01:00
Felix Nagel
1656cd2f34
Selectmenu Tests: add unit and visual tests for width option
2013-12-07 19:10:50 +01:00
Felix Nagel
4c930fd59b
Selectmenu Tests: add spaces to [0]
2013-04-29 23:15:56 +02:00
Felix Nagel
0d7b25d946
Selectmenu Tests: clean up spacing and intention
2013-04-29 21:07:59 +02:00
Felix Nagel
4d986a46b5
Selectmenu Tests: rename wrapper divs
2013-04-29 20:34:16 +02:00
Felix Nagel
d599bf9ffd
Selectmenu tests: CGL, trim triling spaces
2013-02-14 00:04:14 +01:00
Felix Nagel
84621940bf
Selectmenu tests: remove option dropdown
2012-12-20 00:12:35 +01:00
Felix Nagel
ae68ab8118
Selectmenu tests: improve appendTo option tests
2012-12-15 02:24:10 +01:00
Felix Nagel
37a80477c0
Selectmenu: small fixes for lint tests
2012-05-24 18:54:47 +02:00
Felix Nagel
c3f6bd912e
Selectmenu: trim trailing spaces
2012-05-16 20:43:42 +02:00
Felix Nagel
e9a35319d4
Selectmenu: adjust and improve unit tests
2012-02-26 01:24:52 +01:00
Jörn Zaefferer
59d15809a3
Selectmenu: Introduce menuWidget method, to get access to the menu element. Fix various tests and simplify demos accordingly. Add comment about optgroup-click-handling.
2012-02-21 20:22:13 +01:00
Jörn Zaefferer
51bd6f8927
Selectmenu: Unit tests whitespace and linting/cleanup
2012-02-21 18:08:14 +01:00
Felix Nagel
725023e30d
Selectmenu: revert initial refresh method changes (with unit tests)
...
This reverts commit 27049fc5dc
and d83e169424
2012-01-22 14:12:52 +01:00
Felix Nagel
d83e169424
Selectmenu: fixed unit tests due to initial refresh method changes
2012-01-22 13:47:22 +01:00
Felix Nagel
ba73886d3f
Selectmenu: improved dropdown CSS style unit test
2012-01-13 20:46:47 +01:00
Felix Nagel
5766261af2
Selectmenu: fix unit tests (with clean-up)
2012-01-13 19:49:42 +01:00
Felix Nagel
3369ec340d
Selectmenu: removed option value
2012-01-12 22:01:49 +01:00
Dan Wellman
c1c0827c67
Selectmenu: updated options and events unit tests
2011-12-12 23:39:06 +00:00
Dan Wellman
7d5238ad63
Selectmenu: removed duplicates from options unit tests and added new options and events tests
2011-12-01 15:52:12 +00:00
Dan Wellman
f381749ed7
Updates to events and options unit tests
2011-12-01 15:12:03 +00:00
Dan Wellman
fce4725a8a
Selectmenu: added option unit tests
2011-11-25 10:32:44 +00:00
Jörn Zaefferer
defc8d5f68
Selectmenu: Add placeholder for unit tests
2011-10-19 19:47:39 +02:00