aboutsummaryrefslogtreecommitdiff
path: root/js/tests/unit/dropdown.js
AgeCommit message (Collapse)AuthorFilesLines
2019-02-13handle # selector for dropdownJohann-S1-0/+31
2015-07-27Fix triggering of {shown,hidden}.bs.dropdown events so relatedTarget gets ↵Johann-S1-0/+32
set properly Fixes #16828 Closes #16865
2015-06-02generalize dropdowns / drop role="menu"Patrick H. Lauke1-5/+5
as role="menu" is a very specific (and strict) ARIA pattern for desktop-like application menus, and our dropdowns are often used as pure navigation dropdowns, this change abandons ARIA menus for a more open-ended and light-weight approach (see http://heydonworks.com/practical_aria_examples/#submenus and http://www.w3.org/WAI/tutorials/menus/flyout/#improve-screen-reader-support-using-wai-aria) note that in dropdown.js, switched to now target ``.dropdown-menu`` instead of ``role["menu"]`` - this also prevents bootstrap scripts from "bleeding" into non-bootstrap components on the same page. also removed the ``role=["listbox"]`` part, which appears to be vestigial/unused (only place in bootstrap that uses that role are carousels, and their key handling is done separately)
2015-03-21Fix #16072: Clicking into input field within dropdown no longer closes the ↵Emmanuel Bourgerie1-0/+38
dropdown Closes #16073 by merging it
2015-03-09Disable jQuery event aliases when running test suiteChris Rebert1-21/+21
To ensure that we don't accidentally use any of the aliases. This should prevent any future regressions from #12761. Also updates the test suite since it now can't use these aliases either.
2015-03-03[Fixes #15953] Implement assert.expect in each unit testKevin Kirsche1-0/+15
[Fixes #15953] Implement `assert.expect` in each unit test
2015-02-26Unit tests: Use new names of module hooksHeinrich Fenkart1-2/+2
Refs #15893
2015-02-26Dropdowns: Skip `.disabled` instead of `.divider` on keydown eventvsn4ik1-0/+21
Fixes #15147. Closes #15520 by merging it.
2015-02-25Dropdown unit tests: Tiny style changesHeinrich Fenkart1-3/+5
2015-02-24Add unit test of aria-expanded to dropdown suiteKevin Kirsche1-0/+47
Redo of #15876
2015-02-23JS unit tests: use QUnit.module() & QUnit.test() everywhereChris Rebert1-14/+14
[skip validator]
2015-02-23JS unit tests: use modern QUnit assert object everywhereChris Rebert1-33/+33
2015-01-20update JS unit tests to future-proof QUnit 1.16.0 APIChris Rebert1-9/+9
[skip validator]
2014-11-12Dropdown: ignore keydown events coming from `input`s and `textarea`sHeinrich Fenkart1-0/+41
Fixes #15084.
2014-07-06Move to leading plusesHeinrich Fenkart1-93/+93
2014-07-06Clean dropdown unit tests upHeinrich Fenkart1-78/+77
2014-06-06Comply to the new style.XhmikosR1-20/+21
2014-04-21#11464 - Fix JS noConflict mode - Refactor all plugins to use an internal ↵Collin Donahue-Oponski1-15/+24
reference to the jQuery plugin, because in noConflict mode you can never expect to be defined on the jQuery object
2014-04-03replace $.bind() with $.on() in unit tests; per #13272Chris Rebert1-4/+4
2014-02-14Re-indent test files.XhmikosR1-208/+208
2013-12-19No leading plusesZlatan Vasović1-94/+93
2013-12-16Require comma on left sideZlatan Vasović1-28/+28
2013-12-08Use single quotes consistently.XhmikosR1-17/+17
2013-07-31Removed trailing whitespacesCesidio Di Landa1-6/+6
Changed hard tabs to soft tabs
2013-05-24add show/shown hide/hidden events to dropdown + update dropdown links for ↵Jacob Thornton1-0/+67
testing + catch a few missed namespace things
2013-05-16change namespace back to dot notation and someother js shizzlefat1-3/+4
2013-05-16change dropdown strategy to use an overlay - fixes mobile click anywhere + ↵fat1-3/+3
allows for firefox middle click
2013-05-16a bunch javascript junkfat1-0/+151