aboutsummaryrefslogtreecommitdiff
path: root/js/tests
AgeCommit message (Collapse)AuthorFilesLines
2017-10-10Modal plugin set _isTransitioning after the trigger of hide eventJohann-S1-0/+22
2017-10-07Update js/tests/README.md (#24281)Vasilii Artemchuk1-4/+4
2017-10-04Remove global jQuery in eslint because we import jQuery (#24246)Johann-S1-1/+2
2017-10-04Update modal.jsXhmikosR1-1/+4
2017-10-04Unit test for modal bug fixlucascono1-0/+13
Unit test for pull request #24240
2017-10-03Switch to lowercase `doctype`. (#24217)XhmikosR11-11/+11
Having it uppercase doesn't offer anything and the lowercase version slightly improves gzip compression.
2017-10-01js/tests/visual/tab.html: fix HTML validation errors. (#24183)XhmikosR1-4/+4
2017-09-28Lint docs js too and use `strict consistently. (#24160)XhmikosR1-3/+0
2017-09-26Normalize all links. (#24109)XhmikosR2-4/+4
* use a trailing slash when possible * use https when possible * remove a few redirected links * consistently use `https://popper.js.org/` * fix `iconUrl` in nuget files * change Jekyll Windows guide to the official one
2017-09-25Collapse - Allow to pass jQuery object or DOM element to the parent optionJohann-S1-0/+44
2017-09-24Accessibility fixes to dynamic tabs (`aria-selected`, remove dynamic tabs ↵Patrick H. Lauke1-13/+13
with dropdowns) * Use `aria-selected` instead of `aria-expanded` * Change tab.js to use `aria-selected` rather than `aria-expanded` * Add `aria-orientation=vertical` to vertical tab list * Remove dynamic tabs with dropdowns * Fix non-interactive code examples * Only set `aria-selected` on the `role="tab"` trigger - this stops `aria-selected` being incorrectly added to the `role="tabpanel"` itself (probably harmless, but nonetheless incorrect)
2017-09-17fix(scrollspy): Spying on nested navs fails to activate for .nav-link's ↵Troy Morehouse1-0/+41
inside nav-item's (#23967) * fix(scrollspy): Handle nested navs when nav-link inside nav-item * [scrolspy] Find only child .nav-link's inside .nav-item * [scrollspyt] Add tests for nested navs with nav-link inside nav-item * fix troy-o's in test
2017-09-03Merge branch 'v4-dev' into fix-jumping-modal-on-resizeJohann-S2-1/+28
2017-09-02Merge branch 'v4-dev' into fix-unwanted-padding-on-modalJohann-S1-0/+1
2017-08-31Create a bundled release of Bootstrap with Popper.js insideJohann-S1-0/+1
2017-08-29Add failing testDavid Bailey1-0/+14
2017-08-29Fix unit tests in PhantomJSDavid Bailey1-3/+10
Use a virtual scrollbar as this is simpler than having a real one (overflow: scroll doesn't seem to work in Phantom), and disable it for the new test. One test has also been altered to prevent erroneous fails when other inline styles are added to the body (e.g. overflow).
2017-08-28Add failing testDavid Bailey1-0/+19
When the body does not overflow (achieved by hiding the QUnit container), it should not be given a margin.
2017-08-25Add unit test for xss in data target attributemeeque1-0/+36
2017-08-25Fix XSS in data-targetJohann-S1-0/+4
2017-08-25Fix sticky margin when a modal is opened (#23669)David Bailey1-0/+42
* Adjust margin for sticky elements on modal Previously white space was visible to the right of sticky elements due to right padding being added to the body. This fixes #23661. * Add unit tests for margin of sticky elements on modal
2017-08-25Collapse - preventDefault only on <a> elements not inside the collapsibleJohann-S2-1/+26
element
2017-08-24Fix toggle for Tooltips/Popover which was called even if the Tooltip/Popover ↵Johann-S2-0/+45
was disabled
2017-08-23Tweak ESLint rules.XhmikosR10-21/+21
2017-08-17Add a unit test to check if the carousel do not cycle when its parent isn't ↵Johann-S1-0/+39
visible
2017-08-17Unit test to check if our carousel do not cycle when we cannot see itJohann-S1-0/+37
2017-08-11Improve previous selector for nested tabsJohann-S1-7/+8
2017-08-11Add unit test for nested tabsJohann-S1-0/+38
2017-07-16Update dependencies.Bardi Harborow2-90/+212
2017-07-04Dropdown - Disable applyStyle modifier instead of removing inline style ↵Johann-S1-0/+29
applied by Popper.js
2017-06-25update instances of .bg-inverse and .bg-faded to .bg-dark and .bg-lightMark Otto1-1/+1
2017-06-25update navbars to rename .navbar-inverse to .navbar-dark, update all navbar ↵Mark Otto3-3/+3
examples and variables
2017-06-15Rename popover classesMark Otto1-14/+14
Part of an update to align the naming schemes across our components. - Renames .popover-title to .popover-header - Renames .popover-content to .popover-body Refs: #22092
2017-06-15Rename .card-block to .card-body to match nomenclature of modalsMark Otto2-6/+6
2017-06-14Collapse supports multi-target thanks to @vanduynslagerp (#22713)Johann-S1-4/+89
2017-06-14Fix unit tests with no assertionJohann-S1-11/+23
2017-06-14Upgrade QUnit to 2.3.3Johann-S2-241/+326
2017-06-04Update path to our docs assets for visual testsJohann-S9-14/+15
2017-05-30Merge branch 'v4-dev' into v4-docs-streamlinedMark Otto2-10/+10
2017-05-30Update Dependencies (REUPLOAD) (#22594)CDAGaming2-10/+10
* Update Dependencies (REUPLOAD) Uglify-JS: 2.8.22 > 3.0.3 QUnitJS: 2.3.1 > 2.3.2 PostCSS-CLI: 3.1.1 > 4.0.0 Clean-CSS-CLI: 4.0.12 > 4.1.0 Babel-Eslint: 7.2.2 > 7.2.3 AutoPrefixer: 6.7.7 > 7.0.1 * Updates More Dependencies Autoprefixer: v7.0.1 > v7.1.1 Clean-CSS-CLI: v4.1.0 > v4.1.3 Node-Sass: v4.5.2 > v4.5.3 PostCSS-FlexBugs-Fixes: v2.1.1 > v3.0.0 Uglify-JS: v3.0.3 > v3.0.11 Signed-off-by: CDAGaming <[email protected]> * Update Gem Bundler Dependency Signed-off-by: CDAGaming <[email protected]> * Update Gemfile.lock Dependency Signed-off-by: CDAGaming <[email protected]> * Update QUnit Signed-off-by: CDAGaming <[email protected]> * Update Uglify-JS to v3.0.13 Signed-off-by: CDAGaming <[email protected]>
2017-05-29update pathsMark Otto1-13/+13
2017-05-27Update nav and navbar HTML markupGeremia Taglialatela2-32/+32
According to the docs, you just need to apply the `navbar-nav` to an `<ul>` tag in a list-based navbar. In fact, `navbar-nav` seems to override all the css properties set by `nav`. Also, `nav-item` class should be used only for `<li>` tags, or in conjunction with `<a>` tags to entirely avoid the list-based approach. This commit removes the redundant `nav` class from `navbar-nav` `<ul>` tags, moves `nav-item` from `<a>` tags to `<li>` tags and properly adds `nav-item` class to `<li>` tags where missing. Refs: * https://v4-alpha.getbootstrap.com/components/navs/ * https://v4-alpha.getbootstrap.com/components/navbar/#nav
2017-05-24Placement auto for popoversJohann-S1-0/+4
2017-05-24Placement auto for tooltipsJohann-S1-0/+3
2017-05-22Better management of dropdown/dropup with alignmentJohann-S1-10/+28
2017-05-17Use popper to align dropdown menu instead of using css with importantJohann-S1-11/+37
2017-05-14Fix dropdown in scrollspy visual test (add Popper.js)Johann-S1-0/+1
2017-05-14Better placement for Dropdown + Handle flip of Tooltip/PopoverJohann-S1-1/+1
2017-05-14Handle dropup for DropdownJohann-S2-2/+20
2017-05-14Fix unit tests + Update Popper to 1.6.0Johann-S4-87/+58