aboutsummaryrefslogtreecommitdiff
path: root/js/tests/unit/tooltip.js
AgeCommit message (Collapse)AuthorFilesLines
2017-08-24Fix toggle for Tooltips/Popover which was called even if the Tooltip/Popover ↵Johann-S1-0/+22
was disabled
2017-08-23Tweak ESLint rules.XhmikosR1-3/+3
2017-05-14Handle dropup for DropdownJohann-S1-2/+7
2017-05-14Fix unit tests + Update Popper to 1.6.0Johann-S1-58/+6
2017-05-14Fix arrow for tooltip and popoverJohann-S1-56/+27
2017-05-14Add attachment classesJohann-S1-1/+1
2017-03-31Popover + Tooltip - fix error when content or title is a numberJohann-S1-0/+16
2017-03-28Fix different tooltips offset when hoveringJohann1-0/+17
2016-12-29Close #21249 : Add a Unit test for #21227Johann-S1-0/+30
2016-12-27update click state when hiding so can be shown again by trigger. fixes #16732Max Beatty1-0/+21
2016-12-07Rename `.active` to `.show`Starsam801-20/+20
2016-11-24Make JS compliant with the new ESLint rules.Bardi Harborow1-10/+10
2016-10-31Making .tooltip('show') throw an error on elements with display:none (#20940)Johann1-0/+13
2016-10-25Use a single class name for opened/expanded/shown state of widgetsJohann-S1-20/+20
2016-09-15replace some profanities (#20715)VarelloThemes1-1/+1
2015-10-02Add throw error for undefined method on pluginsJohann-S1-0/+12
2015-08-31Accept elements as the tooltip / popover contentGleb Mazovetskiy1-0/+29
When a DOM node is passed to an HTML tooltip, the `title` node is only moved if it is not already in the tooltip. Otherwise, `empty()` is used instead of `detach()` before appending the `title` to avoid memory leaks. If a DOM node is passed to a plain text tooltip, its text is copied via jQuery `.text()`. Replaces `.detach()` with `.empty()`, as `.detach()` is almost never useful but instead leaks memory. The difference between `empty` and `detach` is that the latter keeps all the attached jQuery events/data. However, since we do not return the previous children, the user would have to keep these themselves, thus they can `detach()` if necessary. This is a port of https://github.com/twbs/bootstrap/pull/14552 to v4.
2015-05-13implement global dispose methodfat1-1/+1
2015-05-12grunt test-js, grunt dist-js now workingfat1-1/+1
2015-05-12popover passing as wellfat1-8/+8
2015-05-11rewritten tooltip + tether integration and death to our positioner jankfat1-607/+49
2015-05-06remove closureness from pluginsfat1-229/+428
2015-04-23throw error when trying to show tooltip on :hidden elementChris Rebert1-33/+47
2015-02-11bootstrap onto closurefat1-10/+12
2015-01-21Merge branch 'master' into v4Chris Rebert1-54/+54
2015-01-20update JS unit tests to future-proof QUnit 1.16.0 APIChris Rebert1-54/+54
[skip validator]
2015-01-03Merge branch 'master' into v4Mark Otto1-31/+0
Conflicts: Gruntfile.js dist/css/bootstrap-theme.css dist/css/bootstrap-theme.css.map dist/css/bootstrap-theme.min.css dist/css/bootstrap.css dist/css/bootstrap.css.map dist/css/bootstrap.min.css dist/js/bootstrap.min.js docs/_data/glyphicons.yml docs/_includes/components/alerts.html docs/_includes/components/badges.html docs/_includes/components/breadcrumbs.html docs/_includes/components/button-dropdowns.html docs/_includes/components/button-groups.html docs/_includes/components/dropdowns.html docs/_includes/components/glyphicons.html docs/_includes/components/input-groups.html docs/_includes/components/jumbotron.html docs/_includes/components/labels.html docs/_includes/components/list-group.html docs/_includes/components/media.html docs/_includes/components/navbar.html docs/_includes/components/navs.html docs/_includes/components/page-header.html docs/_includes/components/pagination.html docs/_includes/components/panels.html docs/_includes/components/progress-bars.html docs/_includes/components/responsive-embed.html docs/_includes/components/thumbnails.html docs/_includes/components/wells.html docs/_includes/css/buttons.html docs/_includes/css/code.html docs/_includes/css/forms.html docs/_includes/css/grid.html docs/_includes/css/helpers.html docs/_includes/css/images.html docs/_includes/css/less.html docs/_includes/css/tables.html docs/_includes/css/type.html docs/_includes/customizer-variables.html docs/_includes/getting-started/accessibility.html docs/_includes/getting-started/disabling-responsiveness.html docs/_includes/getting-started/download.html docs/_includes/getting-started/whats-included.html docs/_includes/js/alerts.html docs/_includes/js/buttons.html docs/_includes/js/carousel.html docs/_includes/js/collapse.html docs/_includes/js/modal.html docs/_includes/js/overview.html docs/_includes/js/popovers.html docs/_includes/js/tabs.html docs/_includes/js/tooltips.html docs/_includes/nav/components.html docs/_includes/nav/javascript.html docs/_jade/customizer-variables.jade docs/_layouts/default.html docs/about.html docs/assets/css/docs.min.css docs/assets/css/src/docs.css docs/assets/js/customize.min.js docs/assets/js/raw-files.min.js docs/assets/js/src/customizer.js docs/customize.html docs/dist/css/bootstrap-theme.css.map docs/dist/css/bootstrap.css docs/dist/css/bootstrap.css.map docs/dist/css/bootstrap.min.css less/glyphicons.less less/mixins/vendor-prefixes.less less/navbar.less less/popovers.less less/tables.less less/theme.less less/tooltip.less less/variables.less package.json scss/_carousel.scss scss/_close.scss scss/_forms.scss test-infra/npm-shrinkwrap.json
2014-12-29Revert "Allow multiple delegated tooltip selectors on a node"Chris Rebert1-31/+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-29update JS to use .{tooltip,popover}-{left,right,top,bottom}Chris Rebert1-12/+12
2014-11-28Fix copy/paste errorDan Dascalescu1-1/+1
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. Brown1-0/+31
Fixes #14167. Closes #14189 by merging it.
2014-10-22Fix IE8 unit test breakage introduced by #14767Heinrich Fenkart1-2/+6
2014-10-22Fixes tooltip misplacements in scrollable viewports with auto positioningsaranya.r1-0/+104
Fixes #14756. Closes #14767.
2014-10-03tooltip unit tests: fix typo in test descriptionChris Rebert1-1/+1
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-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-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-01Fix #14076: Add unit test for tooltips on SVG elementsChris Rebert1-0/+36
[skip validator]
2014-07-16speed up js tests a bitfat1-203/+203
2014-07-09`document.head` is undefined in IE8Heinrich Fenkart1-6/+6
2014-07-08Fix invalid HTML in "should allow html entities" tooltip unit testChris Rebert1-2/+2
Refs #14090. Also, fix one typo.
2014-07-06Move to leading plusesHeinrich Fenkart1-30/+30