Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js/tests
AgeCommit message (Collapse)Author
2020-09-10Comply to the new rulesXhmikosR
2020-09-10Switch to xo and remove babel-eslintXhmikosR
2020-08-03Add unit test for toast to check clearTimeout to have been called (#31298)Rohit Sharma
2020-07-09Update dependencies, gems and regenerate package-lock.json (#31261)XhmikosR
* @rollup/plugin-node-resolve 8.1.0 * popper.js 1.16.1 * qunit 2.10.1 * rollup 2.21.0
2020-07-06Backport #30326 (Unit test)ysds
2020-07-06BrowserStack: test on Edge 15XhmikosR
2020-06-24Update links to point to v4-dev or main branchesXhmikosR
2020-06-24Backport #30973XhmikosR
Remove the class `.nav-item` from `.nav-link` inside the non `ul` or `ol` based navs. This makes the consistency for `.nav-item` (This class will not be required on the `.nav-link`). `.nav-item` was only required when you use `.nav-fill` or `.nav-justified` on the `.nav`. In other cases, it was redundant. And the purpose of `.nav-item` on `.nav-link`s can be achieved via flexbox utilities as well (Mentioned in the docs also).
2020-06-10avoid preventing input event onclick (#30992)Laussel Loïc
* instead of stopping event if onclick is triggered on input, call toggle method only if its not on checkbox inside a label * add unit test * add a dedicated test to ensure click event is forward to label Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-04visual/modal.html: fix close buttons placementXhmikosR
2020-06-04Backport #30936XhmikosR
Add role="dialog" in modals via JavaScript
2020-06-04Backport #30742XhmikosR
Update to `@rollup/plugin-babel`
2020-05-12Backport d59de33 from #30772XhmikosR
Add a test about the scrollbar issue on non-integer width
2020-05-12Removed role="document" from the modal dialog (#30755)Rohit Sharma
2020-05-12Minor lint tweaks and rules cleanupXhmikosR
2020-05-12tests: switch to strictEqual/notStrictEqualXhmikosR
2020-05-12scrollspy.js add more testsXhmikosR
2020-05-07enforce element check on scrollspy targetJohann-S
2020-04-28Backport #30633Martijn Cuppens
Remove caret element
2020-04-17Fix tests for jQuery v3.5.0.XhmikosR
2020-04-10 v4 tabs - accessibility issue when using ul/li semantic (#30381)Laussel Loïc
Add aria-role presentation on li element when ul element has role tablist and remove dropdown from visual tests as they've been removed from doc
2020-04-07Fix event propagation from inactive and disabled dropdowns (#30510) (#30511)luktom
2020-03-31Remove holder.js leftovers (#30469)XhmikosR
2020-03-31Backport (#30383)Johann-S
fix: ensure totype always return stringified null when null passed
2020-03-16fix `$().button('toggle')` not working for checkbox inside label (#30388)Laussel Loïc
2020-03-09Drop Node.js < 10 support and update all devDependencies.XhmikosR
* sinon 8.x doesn't work with IE, so leave it at 7.x.
2020-02-17Backport #29886Giovanni Mendoza
Close modal with keyboard=true & backdrop=static
2019-11-02backport #29516: added animation when modal backdrop is staticJohann-S
2019-11-02backport #29523: skip hidden dropdowns while focusingJohann-S
2019-08-27Backport #29298Johann-S
dropdown show method should do the same as toggle
2019-08-27Backport #29277Johann-S
dropdown - destroy old popper.js references
2019-08-27Backport #29251Johann-S
allow to pass popper.js configuration for tooltip/popover and dropdown
2019-07-31Backport #29155Johann-S
allow dynamic modal body for scrollable modals
2019-07-31Fix Typos across Bootstrap repository (#29082)Kitten King
2019-07-10Ensure button plugin sets/removes active class correctly on page load (#28952)Patrick H. Lauke
* Ensure correct active class is set on button toggles/checkboxes/radios on page load Sanity check, ensures that the UI visually matches the actual values/states of controls. Also ensures that if any autocomplete/autofill happened, this is visually accounted for by having the correct class set. Includes unit tests (and `autocomplete` has been removed from these as it's no longer necessary) * Remove now unnecessary autocomplete attribute As the attribute was there to force/ensure that the visual presentation matched the state, and this is now taken care of programmatically, there's no need to unnecessarily suppress autocomplete...let them autocomplete if they want to...
2019-06-19Add missing dropdown unit test for closing with ESC (#28929)Patrick H. Lauke
Backport of the unit test from https://github.com/twbs/bootstrap/pull/28928
2019-06-18Don't open dropdown on ESC on trigger element (#28912)Patrick H. Lauke
* Don't open dropdown on ESC on trigger element Closes #28751
2019-06-18Fix keyboard handling of button-style checkbox/radio button groups (#28834)Patrick H. Lauke
- adds more defensive checks to make sure no unnecessary toggling happens on disabled buttons; this also fixes an up-to-now undiscovered bug where a toggle button with `.disabled` class would still have its `aria-pressed` toggled - adds a set of explicit tests for the above case of disabled buttons and `aria-pressed` - remove a now irrelevant (or at least very nonsensical) test for `<label>` containing both an actionable and a `hidden` `<input>` - expand the test for disabled checkbox to also explicitly test starting conditions (used mainly in my debugging) - ensure that `$btn[0].click()` is used to click checkboxes in tests, rather than the `click()` on the jquery object which is simply a shorthand for `trigger('click')` and does not actually trigger the browser default behavior - remove the `preventDefault()` from the button handling, which was preventing correct keyboard functionality for checkboxes/radio buttons - add extra logic to the button.js code to handle checkboxes correctly and avoid double-triggering as a result of mouse interactions (which saw the checkboxes being toggled twice, thus returning them to their original state) - add logic that prevents the `checked` property from being added incorrectly for any inputs other than radio buttons and checkboxes - added more tests (including the most basic test for a properly triggered fake checkbox button) - work around Firefox bug #1540995 (which this code was hitting after removing the `preventDefault()`, due to Firefox's incorrect toggling of disabled checkboxes when programmatically (but not manually) activated with a `click()` event
2019-05-30Backport #28777.Johann-S
Toast should allow prevent default for hide and show events
2019-05-09Backport #28679.Martijn Cuppens
* Documentation tweaks * Remove redundant `col-12` classes
2019-04-29fix unit tests for chrome mobileJohann-S
2019-04-29karma.conf.js: switch to `CI === true`. (#28588)XhmikosR
2019-03-27Reset carousel touch delta x to prevent click transformation in swipe (#28558)Johann-S
2019-03-08fix jquery detectionJohann-S
2019-02-13Add sanitize template option for tooltip/popover plugins.Johann-S
2019-02-06fix modal test to be sure we call getTransitionDurationFromElementJohann-S
2019-02-06allow to override default toast options (#28186)Johann-S
2019-02-06fix tabs, apply show class only when fade class is present (#28183)Johann-S
2019-02-05Move dropdown offset function logic into private function. (#28138)Jason Golieb
2019-02-05Add support for tooltip offset option to be a function.Jason Golieb