aboutsummaryrefslogtreecommitdiff
path: root/js/tests/unit
AgeCommit message (Collapse)AuthorFilesLines
2015-01-28Merge pull request #15496 from twbs/15484-alternativeChris Rebert2-0/+13
Make $(document).tooltip({...}) without a `selector` throw an error
2015-01-20tweak 'close reopened modal' unit test to work under new QUnit APIChris Rebert1-2/+7
2015-01-20fix bug in tab show/shown relatedTarget unit testChris Rebert1-1/+1
2015-01-20update JS unit tests to future-proof QUnit 1.16.0 APIChris Rebert11-226/+226
[skip validator]
2015-01-05Make $(document).tooltip({...}) without a `selector` throw an errorChris Rebert2-0/+13
Closes #15484
2014-12-29Revert "Allow multiple delegated tooltip selectors on a node"Chris Rebert2-61/+0
This reverts commit 1b3237629a316af41945e20837cf3a332798b264. This reverts PR #14189 because it caused major regressions. Fixes #15168. We'll try to revisit #14167's feature request in Bootstrap v4. [skip validator]
2014-12-29Remove semicolons from #15425 because fatChris Rebert1-3/+3
2014-12-29Add regression test for #14244.Chris Rebert1-0/+38
Special thanks to @programcsharp [skip validator]
2014-11-28Fix copy/paste errorDan Dascalescu1-1/+1
2014-11-20fix affix-top unit test to properly clean up after itselfChris Rebert1-0/+1
2014-11-17add unit test for affix-top for padding issueNick O'Donoghue1-0/+29
2014-11-15add unit tests for Carousel's 'wrap' optionChris Rebert1-0/+153
2014-11-12Dropdown: ignore keydown events coming from `input`s and `textarea`sHeinrich Fenkart1-0/+41
Fixes #15084.
2014-11-04Have Carousel ignore keyboard events from <input>s or <textarea>s; fixes #14991Chris Rebert1-0/+42
2014-10-29Handle `collapsed` class on triggers even when manually invokedHeinrich Fenkart1-22/+50
Fixes #13636.
2014-10-29Merge pull request #14457 from hnrch02/button-set-val-after-event-loopHeinrich Fenkart1-5/+5
Change value of stateful button after event loop
2014-10-27Increase timeouts in tooltip unit tests to avoid spurious Sauce failuresChris Rebert1-31/+31
Fixes #14851
2014-10-26Remove faulty unit test from 9740d8bHeinrich Fenkart1-30/+0
This would only work with transitions but since we disable them for unit tests, this delivers unreliably results.
2014-10-26Follow-up to 9740d8b: fix small typoHeinrich Fenkart1-1/+1
2014-10-26Fix tooltip occasionally not hiding when using a hide delayPhil Hughes1-0/+30
Fixes #14375. Closes #14519 by merging it.
2014-10-26Allow multiple delegated tooltip selectors on a nodeAndrew S. Brown2-0/+75
Fixes #14167. Closes #14189 by merging it.
2014-10-26Follow-up to e8af21c: rm unused variable in unit testHeinrich Fenkart1-1/+1
2014-10-26Clear scrollspy selection above first sectionTadeu Zagallo1-1/+42
Closes #13563 by merging it.
2014-10-26Tabs plugin accessibilityCameron Little1-0/+24
Added support for `aria-expanded` toggling via JavaScript. Added `aria-controls`, `aria-expanded`, `aria-labelledby` to tabs docs. Added `aria-expanded` unit test for the tabs plugin. See also #13554. Closes #14154 by merging it.
2014-10-22Fix IE8 unit test breakage introduced by #14767Heinrich Fenkart1-2/+6
2014-10-22Implement `hide` and `hidden` events for tabsPhil Hughes1-0/+77
Closes #14772.
2014-10-22Fixes tooltip misplacements in scrollable viewports with auto positioningsaranya.r1-0/+104
Fixes #14756. Closes #14767.
2014-10-22Add `aria-pressed` to single toggle buttonsPatrick H. Lauke1-1/+19
also includes tiny fix/clarification to two existing unit tests for the .active class, adding data-toggle=“button” explicitly to the tested buttons Closes #14819.
2014-10-22Don't fire show event if show is prevented because other element is still ↵Heinrich Fenkart1-0/+35
transitioning Fixes #14844. Closes #14845.
2014-10-09fixes #13816 Modal dialog closes when dragging and releasing mouse button ↵fat1-2/+2
outside dialog
2014-10-07Change Twitter links to use `https`.XhmikosR1-2/+2
2014-10-07Small clean-up in scrollspy unit testHeinrich Fenkart1-21/+5
2014-10-03tooltip unit tests: fix typo in test descriptionChris Rebert1-1/+1
2014-10-03Add `keyboard` option to carouselHeinrich Fenkart1-0/+79
Also adds unit tests for keyboard events. Fixes #14468.
2014-10-02Merge pull request #14626 from twbs/carousel-pause-hover-non-mobileJacob1-0/+22
Only enable `pause: hover` for non-touch browsers
2014-09-24Use container instead of parent for tooltip/popover auto-placement calcsChris Rebert1-0/+42
Fixes #14561. Big thanks to @wickstargazer. [skip validator]
2014-09-25Tooltip: Rely on `getBoundingClientRect` for `width` and `height`Heinrich Fenkart1-0/+38
Fixes #14553.
2014-09-23Only enable `pause: hover` for non-touch browsersHeinrich Fenkart1-0/+22
Fixes #11967.
2014-09-17Follow-up to #14581: Use div instead of HTML5 section for IE8Heinrich Fenkart1-6/+6
2014-09-17Fix tooltip misplacement with "auto top"saranya.r1-0/+50
Fixes #14322. Closes #14581.
2014-09-15Must explicitly destroy tooltip in SVG unit test since its container is body.Chris Rebert1-0/+2
Leaking tooltips across tests leads to confusion and sadness.
2014-09-13Correctly selects arrow placement for a tooltipPeter West1-0/+31
Fixes #13696. Fixes #13696. Fixes #14197. Closes #13718.
2014-09-09grunt and missing new lineHeinrich Fenkart1-1/+1
2014-09-09ARIA support for collapsePatrick H. Lauke1-2/+65
Added handling of aria-expanded=true/false to collapse.js, updated documentation to include advice on making expand/collapse controls accessible, updated examples and javascript documentation to use aria-expanded and aria-controls (when targetting single collapsible element, using ID rather than class selector) Closes #14147. Closes #14153.
2014-09-08Merge pull request #14287 from hnrch02/revert-13855-modal-mousedownHeinrich Fenkart1-2/+2
Revert #13855 due to #14263
2014-09-07Merge pull request #14273 from sgonyea/masterJacob1-0/+61
Fix hover-popover/tooltip flickering when mouse re-enters
2014-08-28Fix hover-tooltip flickering when mouse re-entersScott Gonyea1-0/+61
- is(':visible') seems to be the only reliable check, without a refactoring of how hoverState is used - tests need improvement
2014-08-26Change value of stateful button after event loopHeinrich Fenkart1-5/+5
Fixes #14450
2014-08-23Merge pull request #14417 from twbs/fat-14282Mark Otto1-0/+32
fixes #14282 - Already Visible collapse gets closed when …
2014-08-18fixes #14282 - Already Visible collapse gets closed when .collapse('show') ↵fat1-0/+32
is called